SchemaAttributeModel Interface

com.bea.xml
SchemaAttributeModel Interface

public interface SchemaAttributeModel

Represents the attribute structure allowed on a complex type.

Related Topics

SchemaType.getAttributeModel()

Field Summary

public static final int
LAX
Lax wildcard processing.
public static final int
NONE
See SchemaAttributeModel.getWildcardProcess()
public static final int
SKIP
Skip wildcard processing.
public static final int
STRICT
Strict wildcard processing.
 

Method Summary

public SchemaLocalAttribute
getAttribute(QName name)
Returns the attribute with the given name.
public SchemaLocalAttribute[]
getAttributes()
Returns an array containing all the attributes in the model.
public int
getWildcardProcess()
Returns the processing code (SchemaAttributeModel.STRICT, SchemaAttributeModel.LAX, SchemaAttributeModel.SKIP).
public QNameSet
getWildcardSet()
QNameSet representing the attribute wildcard specification.

Field Detail

LAX

public static final int LAX
Lax wildcard processing. See SchemaAttributeModel.getWildcardProcess()


NONE

public static final int NONE
See SchemaAttributeModel.getWildcardProcess()


SKIP

public static final int SKIP
Skip wildcard processing. See SchemaAttributeModel.getWildcardProcess()


STRICT

public static final int STRICT
Strict wildcard processing. See SchemaAttributeModel.getWildcardProcess()

 

Method Detail

getAttribute(QName) Method

public SchemaLocalAttribute getAttribute(QName name)
Returns the attribute with the given name.


getAttributes() Method

public SchemaLocalAttribute[] getAttributes()
Returns an array containing all the attributes in the model.


getWildcardProcess() Method

public int getWildcardProcess()
Returns the processing code (SchemaAttributeModel.STRICT, SchemaAttributeModel.LAX, SchemaAttributeModel.SKIP). Returns 0 (SchemaAttributeModel.NONE) if no wildcard specified.


getWildcardSet() Method

public QNameSet getWildcardSet()
QNameSet representing the attribute wildcard specification.