public class CustomTypeImpl extends FragmentImpl implements CustomType
Constructor and Description |
---|
CustomTypeImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustomTypeId()
Get the id of the customType.
|
java.lang.String |
getCustomURI()
Get the custom URI being defined.
|
java.lang.String |
getDefinition() |
java.util.List<UsedOn> |
getUsedOns() |
boolean |
isUsedCorrectly(Fragment fragment) |
boolean |
isUsedOn(java.lang.String namespace,
java.lang.String localname)
Returns true only if the arcrole can be used on the specified element
|
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
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 getCustomTypeId() throws XBRLException
getCustomTypeId
in interface CustomType
XBRLException
CustomType.getCustomTypeId()
public java.lang.String getCustomURI() throws XBRLException
getCustomURI
in interface CustomType
XBRLException
- if the custom URI is not specified.CustomType.getCustomURI()
public java.lang.String getDefinition() throws XBRLException
getDefinition
in interface CustomType
XBRLException
CustomType.getDefinition()
public boolean isUsedCorrectly(Fragment fragment) throws XBRLException
isUsedCorrectly
in interface CustomType
fragment
- The fragment to be tested to determine if the custom
role has been used correctly based on usedOn constraints.XBRLException
CustomType.isUsedCorrectly(Fragment)
public boolean isUsedOn(java.lang.String namespace, java.lang.String localname) throws XBRLException
CustomType
isUsedOn
in interface CustomType
namespace
- The namespace of the element being tested forlocalname
- The local name of the element being tested forXBRLException
CustomType.isUsedOn(String,String)
public java.util.List<UsedOn> getUsedOns() throws XBRLException
getUsedOns
in interface CustomType
XBRLException
CustomType.getUsedOns()