public class ElementDeclarationImpl extends SchemaContentDeclarationImpl implements ElementDeclaration
Constructor and Description |
---|
ElementDeclarationImpl() |
Modifier and Type | Method and Description |
---|---|
ComplexTypeDeclaration |
getLocalComplexType() |
java.lang.String |
getMaxOccurs() |
java.lang.String |
getMinOccurs() |
ElementDeclaration |
getSubstitutionGroupDeclaration() |
java.lang.String |
getSubstitutionGroupLocalname()
Retrieve the substitution group local name.
|
java.lang.String |
getSubstitutionGroupNamespace()
Retrieve the substitution group namespace.
|
java.lang.String |
getSubstitutionGroupNamespaceAlias()
Retrieve the substitution group namespace alias (also known as a namespace prefix).
|
java.lang.String |
getSubstitutionGroupQName()
Retrieve the substitution group QName.
|
boolean |
hasLocalComplexType() |
boolean |
hasSubstitutionGroup() |
boolean |
isAbstract() |
boolean |
isBlockingExtension() |
boolean |
isBlockingRestriction() |
boolean |
isBlockingSubstitution() |
boolean |
isFinalForExtension() |
boolean |
isFinalForRestriction() |
boolean |
isItem() |
boolean |
isNillable()
Determine if a concept is nillable
|
boolean |
isTuple() |
boolean |
substitutesFor(ElementDeclaration candidate) |
getDefault, getFixed, getForm, getLocalType, getTypeDeclaration, getTypeLocalname, getTypeNamespace, getTypeNamespaceAlias, getTypeQName, hasLocalType, hasTypeReference, isFixed, isGlobal
getName, getReferencedSchemaDeclaration, getReferenceLocalname, getReferenceNamespace, getReferenceNamespaceAlias, getReferenceQName, hasReference
getAnnotations, getOtherAttribute, getOtherAttributes, getSchema, getSchemaId, getTargetNamespace, hasOtherAttribute
appendElementSchemeXPointer, appendID, getAllChildren, getAllChildrenIndices, getAncestorOrSelf, getChild, getChildren, getChildren, getChildrenIndices, getDataRootElement, getElementSchemeXPointerExpression, getIDXPointerExpression, getLabels, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguageAndResourceRole, getLabelsWithLanguageAndResourceRoleAndLinkRole, getLabelsWithResourceRole, getLanguage, getLanguage, getLanguageName, getLanguageName, getLocalname, getLocalnameFromQName, getNamespace, getNamespaceFromQName, getParent, getParentElement, getParentIndex, getPrefixFromQName, getReferences, getReferencesWithLanguage, getReferencesWithLanguageAndResourceRoleAndLinkRole, getReferencesWithLanguageAndRole, getReferencesWithResourceRole, getReferencingLocators, getSequenceToParentElement, getSequenceToParentElementAsString, getSimpleLinks, getURI, getXPath, getXPointerExpression, isAncestorOf, isChild, isNewFragment, isRoot, setParentIndex, setSequenceToParentElement, setURI
appendMetadataElement, compareTo, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
getClass, notify, notifyAll, toString, wait, wait, wait
getDefault, getFixed, getForm, getLocalType, getTypeDeclaration, getTypeLocalname, getTypeNamespace, getTypeNamespaceAlias, getTypeQName, hasLocalType, hasTypeReference, isFixed, isGlobal
getName, getReferencedSchemaDeclaration, getReferenceLocalname, getReferenceNamespace, getReferenceNamespaceAlias, getReferenceQName, hasReference
getAnnotations, getOtherAttribute, getOtherAttributes, getSchema, getSchemaId, getTargetNamespace, hasOtherAttribute
appendElementSchemeXPointer, appendID, getAllChildren, getAllChildrenIndices, getAncestorOrSelf, getChild, getChildren, getChildren, getChildrenIndices, getDataRootElement, getElementSchemeXPointerExpression, getIDXPointerExpression, getLabels, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguageAndResourceRole, getLabelsWithLanguageAndResourceRoleAndLinkRole, getLabelsWithResourceRole, getLanguage, getLanguage, getLanguageName, getLanguageName, getLocalname, getLocalnameFromQName, getNamespace, getNamespaceFromQName, getParent, getParentElement, getParentIndex, getPrefixFromQName, getReferences, getReferencesWithLanguage, getReferencesWithLanguageAndResourceRoleAndLinkRole, getReferencesWithLanguageAndRole, getReferencesWithResourceRole, getReferencingLocators, getSequenceToParentElement, getSequenceToParentElementAsString, getSimpleLinks, getURI, getXPath, getXPointerExpression, isAncestorOf, isChild, isNewFragment, isRoot, setParentIndex, setSequenceToParentElement, setURI
appendMetadataElement, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
public boolean isAbstract() throws XBRLException
isAbstract
in interface ElementDeclaration
XBRLException
ElementDeclaration.isAbstract()
public boolean isNillable() throws XBRLException
ElementDeclaration
isNillable
in interface ElementDeclaration
XBRLException
ElementDeclaration.isNillable()
public boolean isItem() throws XBRLException
isItem
in interface ElementDeclaration
XBRLException
ElementDeclaration.isItem()
public boolean isTuple() throws XBRLException
isTuple
in interface ElementDeclaration
XBRLException
ElementDeclaration.isTuple()
public boolean substitutesFor(ElementDeclaration candidate) throws XBRLException
substitutesFor
in interface ElementDeclaration
candidate
- The candidate element declaration.XBRLException
ElementDeclaration.substitutesFor(ElementDeclaration)
public boolean hasSubstitutionGroup() throws XBRLException
hasSubstitutionGroup
in interface ElementDeclaration
XBRLException
ElementDeclaration.hasSubstitutionGroup()
public java.lang.String getSubstitutionGroupNamespace() throws XBRLException
ElementDeclaration
getSubstitutionGroupNamespace
in interface ElementDeclaration
XBRLException
- if the substitution group is not declared by a substitution group attribute.ElementDeclaration.getSubstitutionGroupNamespace()
public java.lang.String getSubstitutionGroupNamespaceAlias() throws XBRLException
ElementDeclaration
getSubstitutionGroupNamespaceAlias
in interface ElementDeclaration
XBRLException
- if the substitution group is not declared by a substitution group attribute.ElementDeclaration.getSubstitutionGroupNamespaceAlias()
public java.lang.String getSubstitutionGroupQName() throws XBRLException
ElementDeclaration
getSubstitutionGroupQName
in interface ElementDeclaration
XBRLException
- if the data root element is not available.ElementDeclaration.getSubstitutionGroupQName()
public ElementDeclaration getSubstitutionGroupDeclaration() throws XBRLException
getSubstitutionGroupDeclaration
in interface ElementDeclaration
XBRLException
- if there is no such declaration in the data store or if the
fragment is not an XML Schema element declaration.ElementDeclaration.getSubstitutionGroupDeclaration()
public java.lang.String getSubstitutionGroupLocalname() throws XBRLException
ElementDeclaration
getSubstitutionGroupLocalname
in interface ElementDeclaration
XBRLException
- if the substitution group is not declared.ElementDeclaration.getSubstitutionGroupLocalname()
public boolean hasLocalComplexType() throws XBRLException
hasLocalComplexType
in interface ElementDeclaration
XBRLException
ElementDeclaration.hasLocalComplexType()
public ComplexTypeDeclaration getLocalComplexType() throws XBRLException
getLocalComplexType
in interface ElementDeclaration
XBRLException
- if there is no local complex type declaration or
if there is more than one local complex type declaration (an XML Schema error).ElementDeclaration.getLocalComplexType()
public boolean isFinalForRestriction() throws XBRLException
isFinalForRestriction
in interface ElementDeclaration
XBRLException
ElementDeclaration.isFinalForRestriction()
public boolean isFinalForExtension() throws XBRLException
isFinalForExtension
in interface ElementDeclaration
XBRLException
ElementDeclaration.isFinalForRestriction()
public boolean isBlockingSubstitution() throws XBRLException
isBlockingSubstitution
in interface ElementDeclaration
XBRLException
ElementDeclaration.isBlockingSubstitution()
public boolean isBlockingRestriction() throws XBRLException
isBlockingRestriction
in interface ElementDeclaration
XBRLException
ElementDeclaration.isBlockingRestriction()
public boolean isBlockingExtension() throws XBRLException
isBlockingExtension
in interface ElementDeclaration
XBRLException
ElementDeclaration.isBlockingRestriction()
public java.lang.String getMaxOccurs() throws XBRLException
getMaxOccurs
in interface ElementDeclaration
XBRLException
- if the element declaration is global.ElementDeclaration.getMaxOccurs()
public java.lang.String getMinOccurs() throws XBRLException
getMinOccurs
in interface ElementDeclaration
XBRLException
- if the element declaration is global.ElementDeclaration.getMinOccurs()