public class TypeDeclarationImpl extends SchemaDeclarationImpl implements TypeDeclaration
Constructor and Description |
---|
TypeDeclarationImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFinal() |
TypeDeclaration |
getParentType() |
java.lang.String |
getParentTypeLocalname() |
java.lang.String |
getParentTypeNamespace() |
boolean |
isDerivedFrom(java.lang.String namespace,
java.lang.String name) |
boolean |
isDerivedFrom(TypeDeclaration candidate) |
boolean |
isFinal() |
boolean |
isFinalForExtension() |
boolean |
isFinalForRestriction() |
boolean |
isNumericItemType() |
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
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 java.lang.String getFinal() throws XBRLException
getFinal
in interface TypeDeclaration
XBRLException
TypeDeclaration.getFinal()
public boolean isFinal() throws XBRLException
isFinal
in interface TypeDeclaration
XBRLException
TypeDeclaration.isFinal()
public boolean isFinalForExtension() throws XBRLException
isFinalForExtension
in interface TypeDeclaration
XBRLException
TypeDeclaration.isFinalForExtension()
public boolean isFinalForRestriction() throws XBRLException
isFinalForRestriction
in interface TypeDeclaration
XBRLException
TypeDeclaration.isFinalForRestriction()
public boolean isDerivedFrom(TypeDeclaration candidate) throws XBRLException
isDerivedFrom
in interface TypeDeclaration
candidate
- the type declaration that this type may be derived from.XBRLException
TypeDeclaration.isDerivedFrom(org.xbrlapi.TypeDeclaration)
public boolean isDerivedFrom(java.lang.String namespace, java.lang.String name) throws XBRLException
isDerivedFrom
in interface TypeDeclaration
namespace
- The namespace of the prospective type.name
- The local name of the prospective type.XBRLException
- if there is no type declaration with the given namespace and name.TypeDeclaration.isDerivedFrom(String, java.lang.String)
public TypeDeclaration getParentType() throws XBRLException
getParentType
in interface TypeDeclaration
XBRLException
TypeDeclaration.getParentType()
public java.lang.String getParentTypeLocalname() throws XBRLException
getParentTypeLocalname
in interface TypeDeclaration
XBRLException
TypeDeclaration.getParentTypeLocalname()
public java.lang.String getParentTypeNamespace() throws XBRLException
getParentTypeNamespace
in interface TypeDeclaration
XBRLException
TypeDeclaration.getParentTypeNamespace()
public boolean isNumericItemType() throws XBRLException
isNumericItemType
in interface TypeDeclaration
XBRLException
TypeDeclaration.isNumericItemType()