public class SchemaAttributeModelImpl extends Object implements SchemaAttributeModel
LAX, NONE, SKIP, STRICT| Constructor and Description |
|---|
SchemaAttributeModelImpl() |
SchemaAttributeModelImpl(SchemaAttributeModel sam) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(SchemaLocalAttribute attruse) |
SchemaLocalAttribute |
getAttribute(QName name)
Returns the attribute with the given name.
|
SchemaLocalAttribute[] |
getAttributes()
Returns an array containing all the attributes in the model.
|
int |
getWildcardProcess()
Returns the processing code (
SchemaAttributeModel.STRICT, SchemaAttributeModel.LAX, SchemaAttributeModel.SKIP). |
QNameSet |
getWildcardSet()
QNameSet representing the attribute wildcard specification.
|
void |
removeProhibitedAttribute(QName name) |
void |
setWildcardProcess(int proc) |
void |
setWildcardSet(QNameSet set) |
public SchemaAttributeModelImpl()
public SchemaAttributeModelImpl(SchemaAttributeModel sam)
public SchemaLocalAttribute[] getAttributes()
SchemaAttributeModelgetAttributes in interface SchemaAttributeModelpublic SchemaLocalAttribute getAttribute(QName name)
SchemaAttributeModelgetAttribute in interface SchemaAttributeModelpublic void addAttribute(SchemaLocalAttribute attruse)
public void removeProhibitedAttribute(QName name)
public QNameSet getWildcardSet()
SchemaAttributeModelgetWildcardSet in interface SchemaAttributeModelpublic void setWildcardSet(QNameSet set)
public int getWildcardProcess()
SchemaAttributeModelSchemaAttributeModel.STRICT, SchemaAttributeModel.LAX, SchemaAttributeModel.SKIP).
Returns 0 (SchemaAttributeModel.NONE) if no wildcard specified.getWildcardProcess in interface SchemaAttributeModelpublic void setWildcardProcess(int proc)