public class JBossXSElementDeclaration extends JBossXSObject implements org.apache.xerces.xs.XSElementDeclaration
Modifier and Type | Field and Description |
---|---|
protected org.apache.xerces.xs.XSAnnotation |
annotation
Sole Annotation object
|
protected org.apache.xerces.xs.XSComplexTypeDefinition |
enclosingCTDefinition |
protected boolean |
nillable |
protected short |
scope
One of XSConstants.SCOPE_GLOBAL, XSConstants.SCOPE_LOCAL
or XSConstants.SCOPE_ABSENT
|
protected String |
targetNamespace |
protected JBossXSTypeDefinition |
xstype |
name, namespace
Constructor and Description |
---|
JBossXSElementDeclaration() |
JBossXSElementDeclaration(String name,
String namespace) |
JBossXSElementDeclaration(org.apache.xerces.xs.XSElementDeclaration xe)
Create a new JBossXSElementDeclaration while
reading data from XSElementDeclaration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAbstract() |
Object |
getActualVC() |
short |
getActualVCType() |
org.apache.xerces.xs.XSAnnotation |
getAnnotation() |
org.apache.xerces.xs.XSObjectList |
getAnnotations() |
short |
getConstraintType() |
String |
getConstraintValue() |
short |
getDisallowedSubstitutions() |
org.apache.xerces.xs.XSComplexTypeDefinition |
getEnclosingCTDefinition() |
org.apache.xerces.xs.XSNamedMap |
getIdentityConstraints() |
org.apache.xerces.xs.ShortList |
getItemValueTypes() |
boolean |
getNillable() |
short |
getScope()
One of XSConstants.SCOPE_GLOBAL, XSConstants.SCOPE_LOCAL
or XSConstants.SCOPE_ABSENT
|
org.apache.xerces.xs.XSElementDeclaration |
getSubstitutionGroupAffiliation() |
short |
getSubstitutionGroupExclusions() |
String |
getTargetNamespace() |
short |
getType()
Get the type
|
org.apache.xerces.xs.XSTypeDefinition |
getTypeDefinition() |
org.apache.xerces.xs.XSValue |
getValueConstraintValue() |
org.apache.xerces.xs.XSElementDeclaration |
getXSElementDeclaration() |
boolean |
isDisallowedSubstitution(short i) |
boolean |
isSubstitutionGroupExclusion(short i) |
void |
setEnclosingCTDefinition(org.apache.xerces.xs.XSComplexTypeDefinition enclosingCTDefinition) |
void |
setNillable(boolean nillable) |
void |
setScope(short scope) |
void |
setTargetNamespace(String targetNamespace) |
void |
setTypeDefinition(org.apache.xerces.xs.XSTypeDefinition xst) |
equals, getName, getNamespace, getNamespaceItem, hashCode, setName, setNamespace, setNamespaceItem, setType
protected String targetNamespace
protected JBossXSTypeDefinition xstype
protected boolean nillable
protected org.apache.xerces.xs.XSAnnotation annotation
protected short scope
protected org.apache.xerces.xs.XSComplexTypeDefinition enclosingCTDefinition
public JBossXSElementDeclaration()
public JBossXSElementDeclaration(String name, String namespace)
name
- namespace
- public JBossXSElementDeclaration(org.apache.xerces.xs.XSElementDeclaration xe)
xe
- public org.apache.xerces.xs.XSElementDeclaration getXSElementDeclaration()
public org.apache.xerces.xs.XSTypeDefinition getTypeDefinition()
getTypeDefinition
in interface org.apache.xerces.xs.XSElementDeclaration
public void setTypeDefinition(org.apache.xerces.xs.XSTypeDefinition xst)
public short getScope()
getScope
in interface org.apache.xerces.xs.XSElementDeclaration
public void setScope(short scope)
public org.apache.xerces.xs.XSComplexTypeDefinition getEnclosingCTDefinition()
getEnclosingCTDefinition
in interface org.apache.xerces.xs.XSElementDeclaration
public void setEnclosingCTDefinition(org.apache.xerces.xs.XSComplexTypeDefinition enclosingCTDefinition)
public String getTargetNamespace()
public void setTargetNamespace(String targetNamespace)
public short getConstraintType()
getConstraintType
in interface org.apache.xerces.xs.XSElementDeclaration
public String getConstraintValue()
getConstraintValue
in interface org.apache.xerces.xs.XSElementDeclaration
public Object getActualVC() throws org.apache.xerces.xs.XSException
getActualVC
in interface org.apache.xerces.xs.XSElementDeclaration
org.apache.xerces.xs.XSException
public short getActualVCType() throws org.apache.xerces.xs.XSException
getActualVCType
in interface org.apache.xerces.xs.XSElementDeclaration
org.apache.xerces.xs.XSException
public org.apache.xerces.xs.ShortList getItemValueTypes() throws org.apache.xerces.xs.XSException
getItemValueTypes
in interface org.apache.xerces.xs.XSElementDeclaration
org.apache.xerces.xs.XSException
public org.apache.xerces.xs.XSValue getValueConstraintValue()
getValueConstraintValue
in interface org.apache.xerces.xs.XSElementDeclaration
public boolean getNillable()
getNillable
in interface org.apache.xerces.xs.XSElementDeclaration
public void setNillable(boolean nillable)
public org.apache.xerces.xs.XSNamedMap getIdentityConstraints()
getIdentityConstraints
in interface org.apache.xerces.xs.XSElementDeclaration
public org.apache.xerces.xs.XSElementDeclaration getSubstitutionGroupAffiliation()
getSubstitutionGroupAffiliation
in interface org.apache.xerces.xs.XSElementDeclaration
public boolean isSubstitutionGroupExclusion(short i)
isSubstitutionGroupExclusion
in interface org.apache.xerces.xs.XSElementDeclaration
public short getSubstitutionGroupExclusions()
getSubstitutionGroupExclusions
in interface org.apache.xerces.xs.XSElementDeclaration
public boolean isDisallowedSubstitution(short i)
isDisallowedSubstitution
in interface org.apache.xerces.xs.XSElementDeclaration
public short getDisallowedSubstitutions()
getDisallowedSubstitutions
in interface org.apache.xerces.xs.XSElementDeclaration
public boolean getAbstract()
getAbstract
in interface org.apache.xerces.xs.XSElementDeclaration
public org.apache.xerces.xs.XSAnnotation getAnnotation()
getAnnotation
in interface org.apache.xerces.xs.XSElementDeclaration
public short getType()
getType
in interface org.apache.xerces.xs.XSObject
getType
in class JBossXSObject
public org.apache.xerces.xs.XSObjectList getAnnotations()
getAnnotations
in interface org.apache.xerces.xs.XSElementDeclaration
Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.