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, setTypeprotected 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.XSElementDeclarationpublic void setTypeDefinition(org.apache.xerces.xs.XSTypeDefinition xst)
public short getScope()
getScope in interface org.apache.xerces.xs.XSElementDeclarationpublic void setScope(short scope)
public org.apache.xerces.xs.XSComplexTypeDefinition getEnclosingCTDefinition()
getEnclosingCTDefinition in interface org.apache.xerces.xs.XSElementDeclarationpublic 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.XSElementDeclarationpublic String getConstraintValue()
getConstraintValue in interface org.apache.xerces.xs.XSElementDeclarationpublic Object getActualVC() throws org.apache.xerces.xs.XSException
getActualVC in interface org.apache.xerces.xs.XSElementDeclarationorg.apache.xerces.xs.XSExceptionpublic short getActualVCType()
throws org.apache.xerces.xs.XSException
getActualVCType in interface org.apache.xerces.xs.XSElementDeclarationorg.apache.xerces.xs.XSExceptionpublic org.apache.xerces.xs.ShortList getItemValueTypes()
throws org.apache.xerces.xs.XSException
getItemValueTypes in interface org.apache.xerces.xs.XSElementDeclarationorg.apache.xerces.xs.XSExceptionpublic org.apache.xerces.xs.XSValue getValueConstraintValue()
getValueConstraintValue in interface org.apache.xerces.xs.XSElementDeclarationpublic boolean getNillable()
getNillable in interface org.apache.xerces.xs.XSElementDeclarationpublic void setNillable(boolean nillable)
public org.apache.xerces.xs.XSNamedMap getIdentityConstraints()
getIdentityConstraints in interface org.apache.xerces.xs.XSElementDeclarationpublic org.apache.xerces.xs.XSElementDeclaration getSubstitutionGroupAffiliation()
getSubstitutionGroupAffiliation in interface org.apache.xerces.xs.XSElementDeclarationpublic boolean isSubstitutionGroupExclusion(short i)
isSubstitutionGroupExclusion in interface org.apache.xerces.xs.XSElementDeclarationpublic short getSubstitutionGroupExclusions()
getSubstitutionGroupExclusions in interface org.apache.xerces.xs.XSElementDeclarationpublic boolean isDisallowedSubstitution(short i)
isDisallowedSubstitution in interface org.apache.xerces.xs.XSElementDeclarationpublic short getDisallowedSubstitutions()
getDisallowedSubstitutions in interface org.apache.xerces.xs.XSElementDeclarationpublic boolean getAbstract()
getAbstract in interface org.apache.xerces.xs.XSElementDeclarationpublic org.apache.xerces.xs.XSAnnotation getAnnotation()
getAnnotation in interface org.apache.xerces.xs.XSElementDeclarationpublic short getType()
getType in interface org.apache.xerces.xs.XSObjectgetType in class JBossXSObjectpublic org.apache.xerces.xs.XSObjectList getAnnotations()
getAnnotations in interface org.apache.xerces.xs.XSElementDeclarationCopyright © 2013 JBoss, by Red Hat. All Rights Reserved.