public abstract class XBRLVariableResource extends XBRLFormulaResource implements XBRLVariableFormulaEvaluable
XMLFragment.NodeNameIterator<T extends XMLFragment>, XMLFragment.NodeTypeIterator<T extends XMLFragment>
XBRLValidation.Direction
Modifier and Type | Field and Description |
---|---|
static javax.xml.namespace.QName |
as
The Constant as.
|
static javax.xml.namespace.QName |
bindAsSequence
The Constant bindAsSequence.
|
static javax.xml.namespace.QName |
name
The Constant name.
|
static javax.xml.namespace.QName |
order
The Constant order.
|
nullResource
actuate, ARC, arcrole, ETITLE, EXTENDED, from, href, label, LOCATOR, RESOURCE, role, show, SIMPLE, title, to, X_ACTUATE, X_ARCROLE, X_FROM, X_HREF, X_LABEL, X_ROLE, X_SHOW, X_TITLE, X_TO, X_TYPE, XLINKPREFIX
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 |
---|
XBRLVariableResource(DTSContainer dts)
Instantiates a new XBRL variable resource.
|
XBRLVariableResource(XBRLFormulaProcessor proc,
XBRLExtendedLink parent,
XMLFragment node)
Instantiates a new XBRL variable resource.
|
XBRLVariableResource(XBRLFormulaProcessor proc,
XBRLResource res)
Instantiates a new XBRL variable resource.
|
XBRLVariableResource(XBRLFormulaResource other)
Instantiates a new XBRL variable resource.
|
Modifier and Type | Method and Description |
---|---|
net.sf.saxon.s9api.XdmValue |
adjustValueAccordingToType(net.sf.saxon.s9api.XdmValue val,
net.sf.saxon.s9api.XdmItem item)
Checks if the variable has a "as" attribute and:
* if it exist; the value in the item parameter is converted to the type indicated
* if it does not exist; the value of the val parameter is returned.
|
void |
clear()
Clear.
|
java.util.Set<Aspect> |
getAllAspectsFiltered()
Access to all aspects.
|
abstract java.lang.String |
getExpression()
Used only for debug purposes.
|
java.util.List<XBRLFilterUse> |
getFilters(Aspect aspect)
Gets the filters.
|
net.sf.saxon.tree.linked.NodeImpl |
getFirstChild() |
java.util.Set<Aspect> |
getKeysAspectsFiltered()
Gets the keys aspects filtered.
|
net.sf.saxon.tree.linked.NodeImpl |
getLastChild() |
int |
getNumberOfChildren() |
XBRLVariableResourceUse |
getUse(XBRLRelationship rel,
XBRLVariablesHolder set)
Creates a new XBRLVariableResourceUse instance for this variable resource in the
variable resource set.
|
XBRLVariableType |
getVariableType()
Gets the variable type.
|
boolean |
hasChildNodes() |
boolean |
hasFilterAspect(Aspect aspectMain,
Aspect aspectDimension)
Checks for filter aspect.
|
boolean |
isBindAsSequence()
Checks if is bind as sequence.
|
addRequiredVariable, clearVariableSetDicoveredDuringExpressionCompilation, getProcessor, getRequiredVariableSetDiscoveredDuringExpressionCompilation, getResource
addChild, clone, clone, equals, generateNode, getAttributes, getCode, getDTSBase, getFriendlyName, getFriendlyName, getFriendlyName, getParentXBRL, getResourceIdentifier, getRoleType, getType, getValidationReport, getValueKey, hashCode, invalidate, invalidate, isComplexType, isHashDependsOnAtribute, isOnValidation, isSimpleType, setCode, setComplexType, setDTSBase, setId, setRawParentXBRL, setRole, setRoleType, setSimpleType, setValue, validate
getActuate, getArcrole, getFromTxt, getHRef, getHRefDocument, getHRefDocumentResolved, getHRefResolved, getLabel, getRawHRef, getReference, getRole, getShow, getStaticLabel, getSType, getTitle, getToTxt, isRequiredAttribute, isValidAttribute, setActuate, setArcrole, setFrom, setHRef, setLabel, setShow, setSType, setTitle, setTo, validateXPointer
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addChildArray, addChildAt, addChildNode, addChildNodeArray, addChildNodeAt, addChildNodeInBatch, addComment, addFromRelationship, addNamespace, addNamespace, addPropertyChangeListener, addToRelationship, changeBase, checkBase, childExists, commitBatch, copy, createComment, delAttribute, delAttribute, delete, equalXdmValues, findFirstNodeOfClass, findPosition, firePropertyChangeEvent, generateId, generateLocatorToNode, generatePrefix, getAllAttributes, getAttribute, getAttributeAtomicValue, getAttributeBooleanValue, getAttributeGroundedValue, getAttributeQNameValue, getAttributeValue, getBase, getBase, getBooleanValue, getChildren, getChildStringValue, getConfiguration, getContainer, getContainerDocumentURI, getDocument, getElement, getElement, getElements, getFirstChildNoComment, getFragment, 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, getValue, getXPath, getXPathFromXPointer, getXPathNamespaceContext, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerXPath2Scheme, initialise, internalToString, isAttribute, isChangeHashEnabled, isDead, isEmpty, 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, 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
checkVariable, evaluateValue, getProcessor, getVariablesRequired, getXMLFragment, rawEvaluateValue, reset
public static final javax.xml.namespace.QName name
public static final javax.xml.namespace.QName order
public static final javax.xml.namespace.QName bindAsSequence
public static final javax.xml.namespace.QName as
public XBRLVariableResource(DTSContainer dts)
dts
- the dtspublic XBRLVariableResource(XBRLFormulaProcessor proc, XBRLExtendedLink parent, XMLFragment node)
proc
- the procparent
- the parentnode
- the res nodepublic XBRLVariableResource(XBRLFormulaProcessor proc, XBRLResource res)
proc
- the procres
- the respublic XBRLVariableResource(XBRLFormulaResource other)
other
- the otherpublic XBRLVariableResourceUse getUse(XBRLRelationship rel, XBRLVariablesHolder set) throws XFValidationException
rel
- Relationship that links the set with the variableset
- the XBRLVariableSetResource that contains this variable useXFValidationException
- in the form of a XFxbrlveVariableNameResolutionFailurepublic boolean isBindAsSequence()
isBindAsSequence
in interface XBRLVariableFormulaEvaluable
public java.util.List<XBRLFilterUse> getFilters(Aspect aspect)
getFilters
in interface XBRLVariableFormulaEvaluable
aspect
- the aspectpublic java.util.Set<Aspect> getKeysAspectsFiltered()
public java.util.Set<Aspect> getAllAspectsFiltered()
public boolean hasFilterAspect(Aspect aspectMain, Aspect aspectDimension)
aspectMain
- the aspect mainaspectDimension
- the aspect dimensionpublic net.sf.saxon.s9api.XdmValue adjustValueAccordingToType(net.sf.saxon.s9api.XdmValue val, net.sf.saxon.s9api.XdmItem item) throws XFValidationException
adjustValueAccordingToType
in interface XBRLVariableFormulaEvaluable
val
- value to be returned when no "as" attribute exist on variableitem
- the value that must be converted to the type indicated in the as attributeXFValidationException
- the XF validation exceptionpublic XBRLVariableType getVariableType()
getVariableType
in interface XBRLVariableFormulaEvaluable
public abstract java.lang.String getExpression()
Returns the XPath expression used to evaluate this variable
public void clear() throws java.lang.Throwable
clear
in interface XBRLVariableFormulaEvaluable
clear
in class XBRLFormulaResource
java.lang.Throwable
- the throwablepublic 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