public class SchemaImpl extends SchemaContentImpl implements Schema
Constructor and Description |
---|
SchemaImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ArcroleType> |
getArcroleTypes() |
Concept |
getConceptByName(java.lang.String name)
Get a specific concept by its name.
|
long |
getConceptCount()
Get the number of concepts defined in the schema.
|
java.util.List<Concept> |
getConcepts()
Get the fragment list of concepts in the schema.
|
java.util.List<Concept> |
getConceptsBySubstitutionGroup(java.lang.String namespace,
java.lang.String localname)
Get a list concepts based on their substitution group.
|
java.util.List<Concept> |
getConceptsByType(java.lang.String namespace,
java.lang.String localName)
Get a list of concepts based on their type.
|
java.util.List<ExtendedLink> |
getExtendedLinks() |
java.util.List<ComplexTypeDeclaration> |
getGlobalComplexTypes() |
<D extends SchemaDeclaration> |
getGlobalDeclaration(java.lang.String name) |
java.util.List<SimpleTypeDeclaration> |
getGlobalSimpleTypes() |
java.util.List<Schema> |
getImporters() |
java.util.List<SimpleLink> |
getImports() |
java.util.List<SimpleLink> |
getIncludes() |
java.util.List<Concept> |
getOtherElementDeclarations()
Get the fragment list of element declarations (that are not concepts) in the schema.
|
ReferencePartDeclaration |
getReferencePartDeclaration(java.lang.String name)
Get a reference part declaration in a schema.
|
java.util.List<ReferencePartDeclaration> |
getReferencePartDeclarations()
Get a list of the reference part declarations in a schema.
|
java.util.List<RoleType> |
getRoleTypes() |
java.lang.String |
getTargetNamespace() |
boolean |
isElementFormQualified()
Checks if the element form is qualified.
|
getAnnotations, getOtherAttribute, getOtherAttributes, getSchema, getSchemaId, 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, 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 getTargetNamespace() throws XBRLException
getTargetNamespace
in interface SchemaContent
getTargetNamespace
in class SchemaContentImpl
XBRLException
SchemaContent.getTargetNamespace()
public boolean isElementFormQualified() throws XBRLException
Schema
isElementFormQualified
in interface Schema
XBRLException
Schema.isElementFormQualified()
public java.util.List<SimpleLink> getImports() throws XBRLException
getImports
in interface Schema
XBRLException
Schema.getImports()
public java.util.List<Schema> getImporters() throws XBRLException
getImporters
in interface Schema
XBRLException
Schema.getImporters()
public java.util.List<SimpleLink> getIncludes() throws XBRLException
getIncludes
in interface Schema
XBRLException
Schema.getIncludes()
public java.util.List<ExtendedLink> getExtendedLinks() throws XBRLException
getExtendedLinks
in interface Schema
XBRLException
Schema.getExtendedLinks()
public java.util.List<Concept> getConcepts() throws XBRLException
Schema
getConcepts
in interface Schema
XBRLException
Schema.getConcepts()
public long getConceptCount() throws XBRLException
Schema
getConceptCount
in interface Schema
XBRLException
Schema.getConceptCount()
public java.util.List<Concept> getOtherElementDeclarations() throws XBRLException
Schema
getOtherElementDeclarations
in interface Schema
XBRLException
Schema.getOtherElementDeclarations()
public Concept getConceptByName(java.lang.String name) throws XBRLException
Schema
getConceptByName
in interface Schema
name
- The name of the conceptXBRLException
Schema.getConceptByName(String)
public java.util.List<Concept> getConceptsByType(java.lang.String namespace, java.lang.String localName) throws XBRLException
Schema
getConceptsByType
in interface Schema
namespace
- The namespaceURI of the concept typelocalName
- The local name of the concept typeXBRLException
Schema.getConceptsByType(String, String)
public java.util.List<Concept> getConceptsBySubstitutionGroup(java.lang.String namespace, java.lang.String localname) throws XBRLException
Schema
getConceptsBySubstitutionGroup
in interface Schema
namespace
- The namespaceURI of the concept typelocalname
- The local name of the concept typeXBRLException
Schema.getConceptsBySubstitutionGroup(String, String)
public ReferencePartDeclaration getReferencePartDeclaration(java.lang.String name) throws XBRLException
Schema
getReferencePartDeclaration
in interface Schema
name
- The name attribute value of the reference part to be retrieved.XBRLException
Schema.getReferencePartDeclaration(String)
public java.util.List<ReferencePartDeclaration> getReferencePartDeclarations() throws XBRLException
Schema
getReferencePartDeclarations
in interface Schema
XBRLException
Schema.getReferencePartDeclarations()
public java.util.List<ArcroleType> getArcroleTypes() throws XBRLException
getArcroleTypes
in interface Schema
XBRLException
Schema.getArcroleTypes()
public java.util.List<RoleType> getRoleTypes() throws XBRLException
getRoleTypes
in interface Schema
XBRLException
Schema.getRoleTypes()
public java.util.List<ComplexTypeDeclaration> getGlobalComplexTypes() throws XBRLException
getGlobalComplexTypes
in interface Schema
XBRLException
Schema.getGlobalComplexTypes()
public <D extends SchemaDeclaration> D getGlobalDeclaration(java.lang.String name) throws XBRLException
getGlobalDeclaration
in interface Schema
D
- The type of the declaration being retrieved.name
- The name of the declaration being retrieved.XBRLException
- if the name is null or if the specified type of the global
declaration is not consistent with the actual type of the declaration.Schema.getGlobalDeclaration(java.lang.String)
public java.util.List<SimpleTypeDeclaration> getGlobalSimpleTypes() throws XBRLException
getGlobalSimpleTypes
in interface Schema
XBRLException
Schema.getGlobalSimpleTypes()