public interface TypeDeclaration extends SchemaDeclaration
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, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
java.lang.String getFinal() throws XBRLException
XBRLException
boolean isFinalForExtension() throws XBRLException
XBRLException
boolean isFinalForRestriction() throws XBRLException
XBRLException
boolean isFinal() throws XBRLException
XBRLException
boolean isDerivedFrom(java.lang.String namespace, java.lang.String name) throws XBRLException
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.boolean isDerivedFrom(TypeDeclaration candidate) throws XBRLException
candidate
- the type declaration that this type may be derived from.XBRLException
TypeDeclaration getParentType() throws XBRLException
XBRLException
java.lang.String getParentTypeNamespace() throws XBRLException
XBRLException
java.lang.String getParentTypeLocalname() throws XBRLException
XBRLException
boolean isNumericItemType() throws XBRLException
XBRLException