public class MapperSection extends XMLFragment
Mapping sections are groups of facts that belongs to a section this allows for the following features:
XMLFragment.NodeNameIterator<T extends XMLFragment>, XMLFragment.NodeTypeIterator<T extends XMLFragment>
Modifier and Type | Field and Description |
---|---|
static javax.xml.namespace.QName |
mapperSectionQName
The Constant mapperSectionQName.
|
ADD_NAMESPACE_INHERIT, baseQName, CONCEPT_LABEL, CONCEPT_QNAME, EASY_TO_READ, ELEMENT_LABEL, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, FACT_VALUE, HIDE_COMMON_ACCURACY, idQName, langQName, nil, NO_POSITION, OrderComparator, OrderComparator2, OrderComparatorReverse, PERIOD_BOP, PERIOD_TYPE, PERIOD_VALUE, RELATIONSHIP_TYPE, RESOURCE_TYPE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER
Constructor and Description |
---|
MapperSection(DTSContainer dts)
Instantiates a new mapper xbrlMap/instance/section node.
|
MapperSection(DTSContainer dts,
java.lang.String id,
java.util.Collection<java.lang.String> files)
Instantiates a new mapper xbrlMap/instance/section node.
|
Modifier and Type | Method and Description |
---|---|
void |
addFilesTo(XBRLInstance instance)
Adds referenced files to the instance document.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
java.util.Iterator<java.lang.String> |
getFiles()
Gets the files.
|
net.sf.saxon.tree.linked.NodeImpl |
getFirstChild() |
net.sf.saxon.tree.linked.NodeImpl |
getLastChild() |
MapperAnchor |
getMapperAnchor()
Gets the anchor node.
|
MapperDocumentation |
getMapperDocumentation()
Gets the mapper documentation node.
|
int |
getNumberOfChildren() |
java.lang.String |
getRuleIdentifier()
Gets the rule identifier.
|
boolean |
hasChildNodes() |
int |
hashCode()
Hash code.
|
boolean |
hasRule()
Returns true if this section has a rule.
|
void |
setAnchor(java.lang.String sectionLink,
javax.xml.namespace.QName sectionElement)
Sets the anchor.
|
void |
setDocumentation(java.lang.String documentation)
Sets the documentation value.
|
void |
setId(java.lang.String id)
Sets the id of this section. if null, the section id is reset to the next automatically generated section id as the section id
must exist.
|
void |
setMapperAnchor(MapperAnchor anchor)
Sets the anchor.
|
void |
setRuleIdentifier(java.lang.String ruleIdentifier)
Sets the rule identifier.
|
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addChild, addChildArray, addChildAt, addChildNode, addChildNodeArray, addChildNodeAt, addChildNodeInBatch, addComment, addFromRelationship, addNamespace, addNamespace, addPropertyChangeListener, addToRelationship, changeBase, checkBase, childExists, clear, clone, clone, commitBatch, copy, createComment, delAttribute, delAttribute, delete, equalXdmValues, findFirstNodeOfClass, findPosition, firePropertyChangeEvent, generateId, generateLocatorToNode, generateNode, generatePrefix, getAllAttributes, getAttribute, getAttributeAtomicValue, getAttributeBooleanValue, getAttributeGroundedValue, getAttributeQNameValue, getAttributes, getAttributeValue, getBase, getBase, getBooleanValue, getChildren, getChildStringValue, getConfiguration, getContainer, getContainerDocumentURI, getDocument, getElement, getElement, getElements, getFirstChildNoComment, getFragment, getFriendlyName, getFriendlyName, getFriendlyName, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getId, getInScopeNamespaces, getLang, getLastChildNoComment, getNamePool, getNamespaceBinding, getNamespaceURI, getNextSiblingNoComment, getNodeName, getNthElement, getNumberOfElements, getNumberOfFromRelationships, getNumberOfToRelationships, getOrGenerateId, getParentDocument, getParentXBRL, getPrefix, getPrefixes, getPropertyChangeListeners, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticNamespace, getStringValue, getToolTipText, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getValue, getXPath, getXPathFromXPointer, getXPathNamespaceContext, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerXPath2Scheme, initialise, internalToString, isAttribute, isChangeHashEnabled, isDead, isEmpty, isHashDependsOnAtribute, isNamespaceDefined, isNil, moveNamespacesUp, objEquals, objHashCode, reindex, removeChild, removeChildNode, removeFromRelationship, removeNamespace, removePropertyChangeListener, removeToRelationship, replace, replaceChild, replaceStringValue, resetElements, resolveHRef, s_equal2_xp2, s_equal2_xp2, s_equal2, s_equal2, s_equal2, s_equal2, setAttributeList, setAttributes, setBase, setChildrenClone, setDirty, setElements, setLang, setModified, setNamespaceDeclarations, setNamespaces, setNil, setNodeName, setRawParentXBRL, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, valueEquals, xEqual
addAttribute, addNamespace, generateId, getAttributeList, getAttributeValue, getAttributeValue, getBaseURI, getColumnNumber, getDeclaredNamespaces, getDocumentRoot, getLineNumber, getNameCode, getNamespaceList, getNodeKind, getRoot, getSchemaType, getSystemId, getTypeAnnotation, getURIForPrefix, gsetAttributeCollection, isId, isInScopeNamespace, isNilled, iteratePrefixes, removeAttribute, removeTypeAnnotation, rename, setLocation, setNameCode, setNamespaceList, setSystemId, setTypeAnnotation
atomize, compareOrder, comparePosition, getDisplayName, getDocumentNumber, getFingerprint, getLocalPart, getNextInDocument, getNextSibling, getParent, getPhysicalRoot, getPrefix, getPreviousInDocument, getPreviousSibling, getPublicId, getSiblingPosition, getSuccessorElement, getURI, head, insertSiblings, isDeleted, isIdref, isSameNodeInfo, iterate, iterateAxis, iterateAxis, newBuilder, replace
public static final javax.xml.namespace.QName mapperSectionQName
public MapperSection(DTSContainer dts)
dts
- the DTSpublic MapperSection(DTSContainer dts, java.lang.String id, java.util.Collection<java.lang.String> files) throws MapException
dts
- the DTSid
- the idfiles
- the filesMapException
- the map exceptionpublic boolean hasRule()
public java.lang.String getRuleIdentifier()
public void setRuleIdentifier(java.lang.String ruleIdentifier)
ruleIdentifier
- the ruleIdentifier to setpublic void addFilesTo(XBRLInstance instance) throws MapException
instance
- the instanceMapException
- the map exceptionpublic void setId(java.lang.String id) throws XBRLInconsistentDTSException
setId
in class XMLFragment
id
- the id to setXBRLInconsistentDTSException
- the XBRL inconsistent DTS exceptionpublic MapperDocumentation getMapperDocumentation()
public void setDocumentation(java.lang.String documentation)
documentation
- the new documentationpublic void setAnchor(java.lang.String sectionLink, javax.xml.namespace.QName sectionElement)
sectionLink
- the section linksectionElement
- the section elementpublic void setMapperAnchor(MapperAnchor anchor)
anchor
- the new mapper anchorpublic MapperAnchor getMapperAnchor()
public java.util.Iterator<java.lang.String> getFiles()
public int hashCode()
XMLFragment
hashCode
in interface net.sf.saxon.om.NodeInfo
hashCode
in class XMLFragment
public boolean equals(java.lang.Object obj)
XMLFragment
equals
in interface net.sf.saxon.om.NodeInfo
equals
in class XMLFragment
obj
- the otherpublic final boolean hasChildNodes()
hasChildNodes
in interface net.sf.saxon.om.NodeInfo
hasChildNodes
in class net.sf.saxon.tree.linked.NodeImpl
public final int getNumberOfChildren()
public final net.sf.saxon.tree.linked.NodeImpl getFirstChild()
getFirstChild
in interface net.sf.saxon.tree.util.SteppingNode<net.sf.saxon.tree.linked.NodeImpl>
getFirstChild
in class net.sf.saxon.tree.linked.NodeImpl
public final net.sf.saxon.tree.linked.NodeImpl getLastChild()
getLastChild
in class net.sf.saxon.tree.linked.NodeImpl
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa