public abstract class MapperContextBase extends XMLFragment implements HasEqualsCache
XMLFragment.NodeNameIterator<T extends XMLFragment>, XMLFragment.NodeTypeIterator<T extends XMLFragment>| Modifier and Type | Field and Description |
|---|---|
static javax.xml.namespace.QName |
contextNode
The QName of the XML element that is the container of context information.
|
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 |
|---|
MapperContextBase(DTSContainer dts,
MapperBase mapper)
Instantiates a new mapper context base.
|
MapperContextBase(XBRLContext ctx,
MapperBase mapper)
Creates a new MapperContext from the content of an XBRLContext.
|
| Modifier and Type | Method and Description |
|---|---|
abstract MapperContext |
clone()
Clone.
|
abstract MapperContext |
clone(DTSContainer otherDts)
Clone.
|
boolean |
equals(java.lang.Object other)
Evaluates c-equality of two contexts according to the XBRL 2.1 spec
The context IDs may be different and are not compared
|
void |
fixUp()
Fix up entity, segment and scenario.
|
DTSContainer |
getContainer()
Gets the container.
|
XBRLEntity |
getEntity()
Gets the entity.
|
net.sf.saxon.tree.linked.NodeImpl |
getFirstChild() |
java.lang.String |
getId()
Gets the id.
|
net.sf.saxon.tree.linked.NodeImpl |
getLastChild() |
MapperBase |
getMapper()
Gets the mapper.
|
int |
getNumberOfChildren() |
java.lang.String |
getOrGenerateId()
Gets the or generate id.
|
MapperPeriod |
getPeriod()
Gets the period.
|
XBRLScenario |
getScenario()
Gets the scenario.
|
XBRLContext |
getXBRLContext()
Gets the XBRL context.
|
boolean |
hasChildNodes() |
int |
hashCode()
Hash code.
|
void |
setId(java.lang.String id)
Sets the content of the id attribute of this element
the ID MUST not have any space, but null is allowed and removes an
id from an XML Fragment.
|
void |
setPeriod(MapperPeriod period)
Sets the new period for this context.
|
void |
setScenario(XBRLScenario scenario)
Sets the new scenario for this context.
|
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, 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, xEqualaddAttribute, 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, setTypeAnnotationatomize, 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, replacepublic static final javax.xml.namespace.QName contextNode
public MapperContextBase(XBRLContext ctx, MapperBase mapper)
ctx - the ctxmapper - the mapper base parentpublic MapperContextBase(DTSContainer dts, MapperBase mapper)
dts - the DTSmapper - the mapper base parentpublic abstract MapperContext clone()
XMLFragmentclone in class XMLFragmentpublic abstract MapperContext clone(DTSContainer otherDts)
XMLFragmentclone in class XMLFragmentotherDts - the new dtspublic int hashCode()
XMLFragmenthashCode in interface net.sf.saxon.om.NodeInfohashCode in class XMLFragmentpublic boolean equals(java.lang.Object other)
equals in interface net.sf.saxon.om.NodeInfoequals in class XMLFragmentother - the otherpublic XBRLEntity getEntity()
public XBRLContext getXBRLContext()
public MapperPeriod getPeriod()
public XBRLScenario getScenario()
public void setId(java.lang.String id)
throws XBRLInconsistentDTSException
XMLFragmentThis method may be overwritten by other classes that require storing an indexed table of elements and IDs in order to prevent duplicate IDs to exist
setId in class XMLFragmentid - the new IDXBRLInconsistentDTSException - if the id is not lexicographically validpublic void setPeriod(MapperPeriod period)
period - the new periodpublic void setScenario(XBRLScenario scenario)
scenario - the new scenariopublic MapperBase getMapper()
public void fixUp()
public java.lang.String getId()
public java.lang.String getOrGenerateId()
public DTSContainer getContainer()
public final boolean hasChildNodes()
hasChildNodes in interface net.sf.saxon.om.NodeInfohasChildNodes in class net.sf.saxon.tree.linked.NodeImplpublic 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.NodeImplpublic final net.sf.saxon.tree.linked.NodeImpl getLastChild()
getLastChild in class net.sf.saxon.tree.linked.NodeImplCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa