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()
SchemaAttributeModel
getAttributes
in interface SchemaAttributeModel
public SchemaLocalAttribute getAttribute(QName name)
SchemaAttributeModel
getAttribute
in interface SchemaAttributeModel
public void addAttribute(SchemaLocalAttribute attruse)
public void removeProhibitedAttribute(QName name)
public QNameSet getWildcardSet()
SchemaAttributeModel
getWildcardSet
in interface SchemaAttributeModel
public void setWildcardSet(QNameSet set)
public int getWildcardProcess()
SchemaAttributeModel
SchemaAttributeModel.STRICT
, SchemaAttributeModel.LAX
, SchemaAttributeModel.SKIP
).
Returns 0 (SchemaAttributeModel.NONE
) if no wildcard specified.getWildcardProcess
in interface SchemaAttributeModel
public void setWildcardProcess(int proc)
Copyright © 2010 - 2020 Adobe. All Rights Reserved