public class SchemaDeclarationImpl extends SchemaContentImpl implements SchemaDeclaration
Constructor and Description |
---|
SchemaDeclarationImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of structure being declared.
|
<F extends SchemaDeclaration> |
getReferencedSchemaDeclaration() |
java.lang.String |
getReferenceLocalname()
Retrieve the type local name.
|
java.lang.String |
getReferenceNamespace() |
java.lang.String |
getReferenceNamespaceAlias() |
java.lang.String |
getReferenceQName() |
boolean |
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
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 java.lang.String getName() throws XBRLException
getName
in interface SchemaDeclaration
XBRLException
SchemaDeclaration.getName()
public boolean hasReference() throws XBRLException
hasReference
in interface SchemaDeclaration
XBRLException
SchemaDeclaration.hasReference()
public java.lang.String getReferenceNamespace() throws XBRLException
getReferenceNamespace
in interface SchemaDeclaration
XBRLException
- if the datatype is not declared by a type attribute.SchemaDeclaration.getReferenceNamespace()
public java.lang.String getReferenceNamespaceAlias() throws XBRLException
getReferenceNamespaceAlias
in interface SchemaDeclaration
XBRLException
SchemaDeclaration.getReferenceNamespaceAlias()
public java.lang.String getReferenceQName() throws XBRLException
getReferenceQName
in interface SchemaDeclaration
XBRLException
- if the content declaration does not reference another
XML Schema content declaration using a ref attribute.SchemaDeclaration.getReferenceQName()
public java.lang.String getReferenceLocalname() throws XBRLException
SchemaDeclaration
getReferenceLocalname
in interface SchemaDeclaration
XBRLException
- if the datatype is not declared.SchemaDeclaration.getReferenceLocalname()
public <F extends SchemaDeclaration> F getReferencedSchemaDeclaration() throws XBRLException
getReferencedSchemaDeclaration
in interface SchemaDeclaration
XBRLException
- if the fragment cannot be found in the data store.SchemaDeclaration.getReferencedSchemaDeclaration()