Package org.apache.xmlbeans.impl.schema
Class SchemaAttributeModelImpl
java.lang.Object
org.apache.xmlbeans.impl.schema.SchemaAttributeModelImpl
- All Implemented Interfaces:
SchemaAttributeModel
-
Field Summary
Fields inherited from interface org.apache.xmlbeans.SchemaAttributeModel
LAX, NONE, SKIP, STRICT
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(SchemaLocalAttribute attruse) getAttribute
(QName name) Returns the attribute with the given name.Returns an array containing all the attributes in the model.int
Returns the processing code (SchemaAttributeModel.STRICT
,SchemaAttributeModel.LAX
,SchemaAttributeModel.SKIP
).QNameSet representing the attribute wildcard specification.void
void
setWildcardProcess
(int proc) void
setWildcardSet
(QNameSet set)
-
Constructor Details
-
SchemaAttributeModelImpl
public SchemaAttributeModelImpl() -
SchemaAttributeModelImpl
-
-
Method Details
-
getAttributes
Description copied from interface:SchemaAttributeModel
Returns an array containing all the attributes in the model.- Specified by:
getAttributes
in interfaceSchemaAttributeModel
-
getAttribute
Description copied from interface:SchemaAttributeModel
Returns the attribute with the given name.- Specified by:
getAttribute
in interfaceSchemaAttributeModel
-
addAttribute
-
removeProhibitedAttribute
-
getWildcardSet
Description copied from interface:SchemaAttributeModel
QNameSet representing the attribute wildcard specification.- Specified by:
getWildcardSet
in interfaceSchemaAttributeModel
-
setWildcardSet
-
getWildcardProcess
public int getWildcardProcess()Description copied from interface:SchemaAttributeModel
Returns the processing code (SchemaAttributeModel.STRICT
,SchemaAttributeModel.LAX
,SchemaAttributeModel.SKIP
). Returns 0 (SchemaAttributeModel.NONE
) if no wildcard specified.- Specified by:
getWildcardProcess
in interfaceSchemaAttributeModel
-
setWildcardProcess
public void setWildcardProcess(int proc)
-