isAbstract
public boolean isAbstract()
getIdentities
public XSDIdentity[] getIdentities()
- Returns the set of identities
- Returns:
- array of identities
getEquivClassRef
public java.lang.String getEquivClassRef()
- Get the local name of the resolved equiv class
- Returns:
- equivRefLocalname
getRefState
public int getRefState()
- Get refState. The return value is one of the following:
TYPE_UNRESOLVED, TYPE_RESOLVED, REF_UNRESOLVED, REF_RESOLVED
- Returns:
- refstate value
getMinOccurs
public int getMinOccurs()
- Get the minOccurs
- Returns:
- minOccurs value
getMaxOccurs
public int getMaxOccurs()
- Get the maxOccurs
- Returns:
- maxOccurs
setMinOccurs
public void setMinOccurs(int min)
- Set the minOccurs
- Parameters:
minOccurs
- value
setMaxOccurs
public void setMaxOccurs(int max)
- Set the maxOccurs
- Parameters:
maxOccurs
- value
getSubstitutionGroup
public java.util.Vector getSubstitutionGroup()
- Get the substitutionGroup
findEquivClass
public XSDElement findEquivClass(java.lang.String ns,
java.lang.String nm)
- Find the equiv class corresponding to this class
- Returns:
- XSDElement
isNullable
public boolean isNullable()
getDefaultVal
public java.lang.String getDefaultVal()
- Get the value of 'default' attr in case of element, and the value of
'value' attr based on 'use' attribute
- Returns:
- defalutVal
getFixedVal
public java.lang.String getFixedVal()
- Get the value of 'fixed' attr in case of element, and the value of
'value' attr based on 'use' attribute
- Returns:
- defalutVal
getName
public java.lang.String getName()
- Get the name of the node
- Returns:
- name
getRefNamespace
public java.lang.String getRefNamespace()
- Get the namespace of the resolved 'ref' attribute
- Returns:
- refNamespace
getRefLocalname
public java.lang.String getRefLocalname()
- Get the local name of the resolved 'ref' attribute
- Returns:
- refLocalname
getTargetNS
public java.lang.String getTargetNS()
- Get target namespace
getType
public XSDNode getType()
- Get the node type
- Returns:
- nodeType which is either simpleTypeor complexType