Package org.apache.xmlbeans.impl.schema
Class SchemaAttributeModelImpl
- java.lang.Object
-
- org.apache.xmlbeans.impl.schema.SchemaAttributeModelImpl
-
- All Implemented Interfaces:
SchemaAttributeModel
public class SchemaAttributeModelImpl extends java.lang.Object implements SchemaAttributeModel
-
-
Field Summary
-
Fields inherited from interface org.apache.xmlbeans.SchemaAttributeModel
LAX, NONE, SKIP, STRICT
-
-
Constructor Summary
Constructors Constructor Description SchemaAttributeModelImpl()SchemaAttributeModelImpl(SchemaAttributeModel sam)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(SchemaLocalAttribute attruse)SchemaLocalAttributegetAttribute(javax.xml.namespace.QName name)Returns the attribute with the given name.SchemaLocalAttribute[]getAttributes()Returns an array containing all the attributes in the model.intgetWildcardProcess()Returns the processing code (SchemaAttributeModel.STRICT,SchemaAttributeModel.LAX,SchemaAttributeModel.SKIP).QNameSetgetWildcardSet()QNameSet representing the attribute wildcard specification.voidremoveProhibitedAttribute(javax.xml.namespace.QName name)voidsetWildcardProcess(int proc)voidsetWildcardSet(QNameSet set)
-
-
-
Constructor Detail
-
SchemaAttributeModelImpl
public SchemaAttributeModelImpl()
-
SchemaAttributeModelImpl
public SchemaAttributeModelImpl(SchemaAttributeModel sam)
-
-
Method Detail
-
getAttributes
public SchemaLocalAttribute[] getAttributes()
Description copied from interface:SchemaAttributeModelReturns an array containing all the attributes in the model.- Specified by:
getAttributesin interfaceSchemaAttributeModel
-
getAttribute
public SchemaLocalAttribute getAttribute(javax.xml.namespace.QName name)
Description copied from interface:SchemaAttributeModelReturns the attribute with the given name.- Specified by:
getAttributein interfaceSchemaAttributeModel
-
addAttribute
public void addAttribute(SchemaLocalAttribute attruse)
-
removeProhibitedAttribute
public void removeProhibitedAttribute(javax.xml.namespace.QName name)
-
getWildcardSet
public QNameSet getWildcardSet()
Description copied from interface:SchemaAttributeModelQNameSet representing the attribute wildcard specification.- Specified by:
getWildcardSetin interfaceSchemaAttributeModel
-
setWildcardSet
public void setWildcardSet(QNameSet set)
-
getWildcardProcess
public int getWildcardProcess()
Description copied from interface:SchemaAttributeModelReturns the processing code (SchemaAttributeModel.STRICT,SchemaAttributeModel.LAX,SchemaAttributeModel.SKIP). Returns 0 (SchemaAttributeModel.NONE) if no wildcard specified.- Specified by:
getWildcardProcessin interfaceSchemaAttributeModel
-
setWildcardProcess
public void setWildcardProcess(int proc)
-
-