public class XBRLFactTuple extends XBRLFact implements XBRLFactsList
XMLFragment.NodeNameIterator<T extends XMLFragment>, XMLFragment.NodeTypeIterator<T extends XMLFragment>
XBRLValidation.Direction
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 |
---|
XBRLFactTuple(DTSContainer dts)
Instantiates a new XBRL fact tuple.
|
XBRLFactTuple(XBRLFactsList parent,
XBRLTuple tupleDecl,
boolean addToParentNow)
Creates a new tuple.
|
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
XBRLFact fact)
Resets the nillable status to false automatically.
|
boolean |
add(XBRLFact fact)
Resets the nillable status to false automatically.
|
void |
clear()
Clear.
|
XBRLFactTuple |
clone()
Clone.
|
XBRLFactTuple |
clone(DTSContainer newDTS)
Clone.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
XBRLFactTuple |
generateNode()
Generate node.
|
XBRLFact |
get(int index)
Gets the.
|
XBRLTuple |
getElementDefinition()
Gets the element definition.
|
net.sf.saxon.tree.linked.NodeImpl |
getFirstChild() |
java.lang.String |
getFriendlyName()
Gets the friendly name.
|
java.lang.String |
getFriendlyName(int modifiers,
LabelsProvider lp)
Gets the friendly name.
|
java.util.Iterator<XBRLFactItem> |
getItems()
Gets the items.
|
java.util.Iterator<XBRLFactItem> |
getItems(XBRLItem itemFrom)
Gets the items.
|
java.util.Iterator<XBRLFactItem> |
getItemsSg(XBRLItem itemFrom)
Gets the items sg.
|
net.sf.saxon.tree.linked.NodeImpl |
getLastChild() |
int |
getNumberOfChildren() |
int |
getNumberOfItems()
Gets the number of items.
|
int |
getNumberOfTuples()
Gets the number of tuples.
|
java.util.Iterator<XBRLFactTuple> |
getTuples()
Gets the tuples.
|
java.util.Iterator<XBRLFactTuple> |
getTuples(XBRLTuple tupleFrom)
Gets the tuples.
|
java.util.Iterator<XBRLFactTuple> |
getTuplesSg(XBRLTuple tupleFrom)
Gets the tuples sg.
|
net.sf.saxon.s9api.XdmValue |
getValue()
Gets the value.
|
boolean |
hasChildNodes() |
int |
hashCode()
Hash code.
|
int |
indexOf(XBRLFact fact)
Index of.
|
int |
indexOf(XBRLFact fact,
int index)
Index of.
|
boolean |
isDuplicate(XBRLFact otherFact)
Checks if is duplicate.
|
java.util.Iterator<XBRLFact> |
iterator()
Iterator.
|
java.util.Iterator<XBRLFact> |
iterator2()
Iterator 2.
|
static XBRLFactTuple |
make(XBRLFactsList parent,
XBRLTuple tupleDecl,
boolean addToParentNow)
Make.
|
boolean |
remove(java.util.Set<XBRLFact> facts)
Removes the.
|
boolean |
remove(XBRLFact fact)
Removes the.
|
boolean |
removeFact(XBRLFact fact)
Removes the fact.
|
boolean |
removeFacts(java.util.Set<XBRLFact> facts)
Removes the facts.
|
void |
resetElements()
Reset elements.
|
boolean |
s_equal2(java.lang.Object other)
S equal 2.
|
boolean |
setNil(boolean newValue)
This method clears the tuple content if the value
if set from false to true.
|
void |
setParent(XBRLFactsList parent)
Sets the parent.
|
boolean |
setRawParentXBRL(XMLFragment parent)
Sets the raw parent XBRL.
|
int |
size()
Size.
|
addEvent, createFractionItemInstance, createItemOrTupleInstance, createNonNumericItemInstance, createNumericItemInstance, createTupleInstance, delete, getCode, getElements, getHistory, getHistoryAsHTMLString, getHistoryAsString, getInstance, getParentXBRL, getParentXBRLFactsList, getTaxonomy, getValidationReport, getXPathToRoot, invalidate, invalidate, isBlank, isOnValidation, pEqual, setBlank, setCode, setId, setInstance, setValue, setValue, setValue, setValue, setValue, setValue, setValue, validate
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, commitBatch, copy, createComment, delAttribute, delAttribute, equalXdmValues, findFirstNodeOfClass, findPosition, firePropertyChangeEvent, generateId, generateLocatorToNode, generatePrefix, getAllAttributes, getAttribute, getAttributeAtomicValue, getAttributeBooleanValue, getAttributeGroundedValue, getAttributeQNameValue, getAttributes, getAttributeValue, getBase, getBase, getBooleanValue, getChildren, getChildStringValue, getConfiguration, getContainer, getContainerDocumentURI, getDocument, getElement, getElement, getFirstChildNoComment, getFragment, 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, getPrefix, getPrefixes, getPropertyChangeListeners, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticNamespace, getStringValue, getToolTipText, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getXPath, getXPathFromXPointer, getXPathNamespaceContext, 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, resolveHRef, s_equal2_xp2, s_equal2_xp2, s_equal2, s_equal2, s_equal2, setAttributeList, setAttributes, setBase, setChildrenClone, setDirty, setElements, setLang, setModified, setNamespaceDeclarations, setNamespaces, setNodeName, 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
getContainer, getDocument, getInstance, getParentXBRL, getXPath, getXPathToRoot
public XBRLFactTuple(DTSContainer dts)
dts
- the dtspublic XBRLFactTuple(XBRLFactsList parent, XBRLTuple tupleDecl, boolean addToParentNow)
parent
- the parenttupleDecl
- the tuple decladdToParentNow
- if this is true, the new fact will be added to the instance. If this is false, call container.add(...)
laterpublic static XBRLFactTuple make(XBRLFactsList parent, XBRLTuple tupleDecl, boolean addToParentNow)
parent
- the parenttupleDecl
- the tuple decladdToParentNow
- if this is true, the new fact will be added to the instance. If this is false, call container.add(...)
laterpublic boolean setRawParentXBRL(XMLFragment parent)
setRawParentXBRL
in class XMLFragment
parent
- the parentpublic XBRLTuple getElementDefinition()
getElementDefinition
in class XBRLFact
public XBRLFactTuple clone()
public XBRLFactTuple clone(DTSContainer newDTS)
public boolean setNil(boolean newValue)
public net.sf.saxon.s9api.XdmValue getValue()
public XBRLFactTuple generateNode() throws XBRLSerializationException
generateNode
in class XBRLFact
XBRLSerializationException
- the XBRL serialization exceptionpublic void resetElements()
resetElements
in class XMLFragment
public boolean add(XBRLFact fact)
add
in interface XBRLFactsList
fact
- the factpublic void add(int index, XBRLFact fact)
add
in interface XBRLFactsList
index
- the indexfact
- the factpublic java.util.Iterator<XBRLFactItem> getItems()
getItems
in interface XBRLFactsList
public java.util.Iterator<XBRLFactItem> getItems(XBRLItem itemFrom)
getItems
in interface XBRLFactsList
itemFrom
- the item frompublic java.util.Iterator<XBRLFactTuple> getTuples()
getTuples
in interface XBRLFactsList
public java.util.Iterator<XBRLFactTuple> getTuples(XBRLTuple tupleFrom)
getTuples
in interface XBRLFactsList
tupleFrom
- the tuple frompublic java.util.Iterator<XBRLFactItem> getItemsSg(XBRLItem itemFrom)
getItemsSg
in interface XBRLFactsList
itemFrom
- the item frompublic java.util.Iterator<XBRLFactTuple> getTuplesSg(XBRLTuple tupleFrom)
getTuplesSg
in interface XBRLFactsList
tupleFrom
- the tuple frompublic int getNumberOfItems()
getNumberOfItems
in interface XBRLFactsList
public int getNumberOfTuples()
getNumberOfTuples
in interface XBRLFactsList
public java.util.Iterator<XBRLFact> iterator()
iterator
in interface XBRLFactsList
public java.util.Iterator<XBRLFact> iterator2()
iterator2
in interface XBRLFactsList
public boolean remove(XBRLFact fact)
remove
in interface XBRLFactsList
fact
- the factpublic boolean remove(java.util.Set<XBRLFact> facts)
remove
in interface XBRLFactsList
facts
- the factspublic boolean removeFact(XBRLFact fact)
removeFact
in interface XBRLFactsList
fact
- the factpublic boolean removeFacts(java.util.Set<XBRLFact> facts)
removeFacts
in interface XBRLFactsList
facts
- the factspublic void setParent(XBRLFactsList parent)
setParent
in interface XBRLFactsList
setParent
in class XBRLFact
parent
- the new parentpublic int size()
size
in interface XBRLFactsList
public java.lang.String getFriendlyName()
getFriendlyName
in class XBRLFact
public java.lang.String getFriendlyName(int modifiers, LabelsProvider lp)
getFriendlyName
in class XBRLFact
modifiers
- the modifierslp
- the lppublic XBRLFact get(int index)
get
in interface XBRLFactsList
index
- the indexpublic int indexOf(XBRLFact fact)
indexOf
in interface XBRLFactsList
fact
- the factpublic int indexOf(XBRLFact fact, int index)
indexOf
in interface XBRLFactsList
fact
- the factindex
- the indexpublic void clear() throws java.lang.Throwable
clear
in interface XBRLFactsList
clear
in class XBRLFact
java.lang.Throwable
- the throwablepublic int hashCode()
hashCode
in interface XBRLFactsList
hashCode
in interface net.sf.saxon.om.NodeInfo
hashCode
in class XBRLFact
public boolean equals(java.lang.Object obj)
equals
in interface XBRLFactsList
equals
in interface net.sf.saxon.om.NodeInfo
equals
in class XBRLFact
obj
- the objpublic boolean s_equal2(java.lang.Object other)
s_equal2
in class XMLFragment
other
- the otherpublic boolean isDuplicate(XBRLFact otherFact)
isDuplicate
in class XBRLFact
otherFact
- the other factpublic 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