public class IXBRLKeyElementsInterceptor extends XBRLSaxBuilder
| Modifier and Type | Class and Description |
|---|---|
static interface |
IXBRLKeyElementsInterceptor.NestedStackageIXElement
The Interface NestedStackageIXElement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attribute(net.sf.saxon.om.NodeName atName,
net.sf.saxon.type.SimpleType atType,
java.lang.CharSequence value,
int locationId,
int properties)
Attribute.
|
void |
characters(java.lang.CharSequence chars,
int locationId,
int properties)
Characters.
|
void |
endDocument()
End document.
|
void |
endElement()
End element.
|
void |
getEffectiveFootnoteValue(XMLFragment res,
net.sf.saxon.tree.linked.NodeImpl baseIXFootnote)
Special method used to set the value of XBRLResources that allows complexType mixing html and text.
|
void |
getEffectiveFootnoteValueWithEscape(XMLFragment res,
BaseIXElement ixElem)
Returns the effective value of a node resolving ix:exclude and continuedAt attributes.
|
java.lang.String |
getEffectiveValue(BaseIXElement ixElem)
Returns the effective value of a node resolving ix:exclude and continuedAt attributes.
|
net.sf.saxon.value.AtomicValue |
getFormattedValue(BaseIXElement fact)
if the BaseIXFact contains a format attribute value this method applies the format
to the effectiveValue.
|
net.sf.saxon.om.NodeInfo |
getGeneratedElementById(java.lang.String id,
XBRLExtendedLink el)
Gets the generated element by id.
|
net.sf.saxon.om.NodeInfo |
getIXElementById(java.lang.String id)
Gets the IX element by id.
|
java.util.Set<javax.xml.namespace.QName> |
getIxOtherAttrs(BaseIXElement ixElement,
boolean filterSpec,
boolean filterXML,
java.util.Set<javax.xml.namespace.QName> except)
Get ix:* Other attributes property:
The set of attributes with a namespace name which has a value other than http://www.xbrl.org/2013/inlineXBRL.
|
net.sf.saxon.value.AtomicValue |
getScaledAndSign(BaseIXElement fact)
if the BaseIXFact contains a scale and or sign attribute value this method applies the transformations required
in those attributes.
|
java.lang.String[] |
getTargets()
Returns the set of unique values of the target attributes so it is possible to access each instance separately.
|
XBRLInstance |
getXBRLInstance(java.lang.String target)
Gets the XBRL instance.
|
XBRLInstance[] |
getXBRLInstances()
Create an XBRLInstance with the information collected.
|
static boolean |
isAllowContinuedAt(javax.xml.namespace.QName nodeName)
Returns true when the node name is ix:continuation, ix:footnote or ix:nonNumeric
and is in the 1.1 specification
|
void |
namespace(net.sf.saxon.om.NamespaceBinding namespaceBinding,
int properties)
Namespace.
|
void |
reset()
Reset.
|
void |
reset2()
Called when the instance document has been generated with the information collected.
|
void |
setGeneratedElementById(java.lang.String id,
XMLFragment f)
Sets the generated element by id.
|
void |
setSystemId(java.lang.String systemId)
Sets the system id.
|
void |
startDocument(int properties)
Start document.
|
void |
startElement(net.sf.saxon.om.NodeName nameCode,
net.sf.saxon.type.SchemaType typeCode,
int locationId,
int properties)
Start element.
|
close, comment, getBaseURI, getBuilderMonitor, getConfiguration, getCurrentRoot, getPipelineConfiguration, getSystemId, isTiming, open, processingInstruction, setBaseURI, setLineNumbering, setPipelineConfiguration, setTiming, setUnparsedEntity, startContent, usesTypeAnnotationspublic void setSystemId(java.lang.String systemId)
setSystemId in interface javax.xml.transform.ResultsetSystemId in interface net.sf.saxon.event.ReceiversetSystemId in class XBRLSaxBuildersystemId - the new system idpublic void startDocument(int properties)
throws net.sf.saxon.trans.XPathException
startDocument in interface net.sf.saxon.event.ReceiverstartDocument in class XBRLSaxBuilderproperties - the propertiesnet.sf.saxon.trans.XPathException - the x path exceptionpublic void reset()
reset in class XBRLSaxBuilderpublic void reset2()
public void endDocument()
throws net.sf.saxon.trans.XPathException
endDocument in interface net.sf.saxon.event.ReceiverendDocument in class XBRLSaxBuildernet.sf.saxon.trans.XPathException - the x path exceptionpublic java.util.Set<javax.xml.namespace.QName> getIxOtherAttrs(BaseIXElement ixElement, boolean filterSpec, boolean filterXML, java.util.Set<javax.xml.namespace.QName> except)
ixElement - if set to true, the result will NOT include attributes defined in the specs (1.0 or 1.1)filterSpec - if set to true, the result will skip attributes defined in the ixbrl specificationfilterXML - is set to true the attribute xml:base is skipexcept - the exceptpublic java.lang.String getEffectiveValue(BaseIXElement ixElem) throws net.sf.saxon.trans.XPathException
ixElem - the ix elemnet.sf.saxon.trans.XPathException - the x path exceptionpublic void endElement()
throws net.sf.saxon.trans.XPathException
endElement in interface net.sf.saxon.event.ReceiverendElement in class XBRLSaxBuildernet.sf.saxon.trans.XPathException - the x path exceptionpublic void startElement(net.sf.saxon.om.NodeName nameCode,
net.sf.saxon.type.SchemaType typeCode,
int locationId,
int properties)
throws net.sf.saxon.trans.XPathException
startElement in interface net.sf.saxon.event.ReceiverstartElement in class XBRLSaxBuildernameCode - the name codetypeCode - the type codelocationId - the location idproperties - the propertiesnet.sf.saxon.trans.XPathException - the x path exceptionpublic void attribute(net.sf.saxon.om.NodeName atName,
net.sf.saxon.type.SimpleType atType,
java.lang.CharSequence value,
int locationId,
int properties)
throws net.sf.saxon.trans.XPathException
attribute in interface net.sf.saxon.event.Receiverattribute in class XBRLSaxBuilderatName - the at nameatType - the at typevalue - the valuelocationId - the location idproperties - the propertiesnet.sf.saxon.trans.XPathException - the x path exceptionpublic void characters(java.lang.CharSequence chars,
int locationId,
int properties)
throws net.sf.saxon.trans.XPathException
characters in interface net.sf.saxon.event.Receivercharacters in class XBRLSaxBuilderchars - the charslocationId - the location idproperties - the propertiesnet.sf.saxon.trans.XPathException - the x path exceptionpublic void namespace(net.sf.saxon.om.NamespaceBinding namespaceBinding,
int properties)
throws net.sf.saxon.trans.XPathException
namespace in interface net.sf.saxon.event.Receivernamespace in class XBRLSaxBuildernamespaceBinding - the namespace bindingproperties - the propertiesnet.sf.saxon.trans.XPathException - the x path exceptionpublic static boolean isAllowContinuedAt(javax.xml.namespace.QName nodeName)
nodeName - the node namepublic XBRLInstance[] getXBRLInstances() throws net.sf.saxon.trans.XPathException
net.sf.saxon.trans.XPathException - the x path exceptionpublic XBRLInstance getXBRLInstance(java.lang.String target) throws net.sf.saxon.trans.XPathException
target - the targetnet.sf.saxon.trans.XPathException - the x path exceptionpublic java.lang.String[] getTargets()
public net.sf.saxon.value.AtomicValue getFormattedValue(BaseIXElement fact) throws net.sf.saxon.trans.XPathException
This method does not apply scale nor sign to the returned value. Use getScaledAndSign(BaseIXElement) for
that purpose
fact - the factnet.sf.saxon.trans.XPathException - the x path exceptionpublic net.sf.saxon.value.AtomicValue getScaledAndSign(BaseIXElement fact) throws net.sf.saxon.trans.XPathException
This method first call getFormattedValue(BaseIXElement) and applies the scale and sign transformations
to the returned value
fact - the factnet.sf.saxon.trans.XPathException - the x path exceptionpublic net.sf.saxon.om.NodeInfo getIXElementById(java.lang.String id)
id - the idpublic void setGeneratedElementById(java.lang.String id,
XMLFragment f)
id - the idf - the fpublic net.sf.saxon.om.NodeInfo getGeneratedElementById(java.lang.String id,
XBRLExtendedLink el)
throws net.sf.saxon.trans.XPathException
id - the idel - the elnet.sf.saxon.trans.XPathException - the x path exceptionpublic void getEffectiveFootnoteValue(XMLFragment res, net.sf.saxon.tree.linked.NodeImpl baseIXFootnote) throws net.sf.saxon.trans.XPathException
res - the resbaseIXFootnote - the base IX footnotenet.sf.saxon.trans.XPathException - the x path exceptionpublic void getEffectiveFootnoteValueWithEscape(XMLFragment res, BaseIXElement ixElem) throws net.sf.saxon.trans.XPathException
res - the resixElem - the ix elemnet.sf.saxon.trans.XPathException - the x path exceptionCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa