public abstract class IXBRLProcessorBase extends java.lang.Object implements XBRLPlugInProcessor, IIXBRLProcessor
| Modifier and Type | Class and Description |
|---|---|
static class |
IXBRLProcessorBase.WrapStreamSource
The Class WrapStreamSource.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROCESSORNAME
The Constant PROCESSORNAME.
|
static javax.xml.namespace.QName |
version
The name of the version attribute in the html element
|
static java.lang.String |
wrapSourceNS
The Constant wrapSourceNS.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear.
|
void |
configure(java.util.Properties properties)
Configure.
|
DTSContainer |
getContainer()
Gets the container.
|
java.util.Collection<IXBRLReceiver> |
getExtensionProcessors()
Obtains a collection of IXBRL Extension processors or the
empty collection if there are none.
|
net.sf.saxon.om.Item |
getFormattedValue(javax.xml.namespace.QName format,
java.lang.String effectiveValue)
Gets the formatted value.
|
net.sf.saxon.type.SchemaType |
getFormatType(net.sf.saxon.value.QNameValue format)
Find the type definition in loaded schemas.
|
XBRLInstance |
getInstance(java.lang.String target)
Gets the single instance of IXBRLProcessorBase.
|
abstract java.lang.String |
getIXBRLNamespace()
Returns the namespace that corresponds with the specification version.
|
abstract java.lang.String |
getIXBRLSchemaURL()
Returns the official URL of the IXBRL schema for the surrounding IXBRL Processor.
|
abstract java.lang.String |
getIXBRLVersionFixed()
Returns the value of the version attribute in the html element.
|
java.lang.String |
getName()
Gets the name.
|
int |
getSources()
Obtains the number of source documents that contributed to the target instance(s).
|
java.lang.String[] |
getTargets()
Gets the targets.
|
XMLDocumentURI |
getXBRLInstanceSource(javax.xml.transform.Source sourceTree)
Extracts from the node the surrounding XBRLInstance as an XdmNode.
|
net.sf.saxon.om.NodeInfo |
getXHTML(int source)
Obtains the html node that is specified in the indicated source value.
|
boolean |
isFormatDefined(net.sf.saxon.value.QNameValue format)
Checks if is format defined.
|
boolean |
isFormatValueValid(net.sf.saxon.value.QNameValue format,
net.sf.saxon.value.AtomicValue value,
java.util.List<net.sf.saxon.trans.XPathException> outErrors)
Checks if is format value valid.
|
boolean |
isFormatValueValid(net.sf.saxon.value.QNameValue format,
java.lang.String value,
java.util.List<net.sf.saxon.trans.XPathException> outErrors)
Checks if is format value valid.
|
boolean |
isHidden()
Checks if is hidden.
|
static void |
registerExtensionProcessor(java.lang.String processorname,
java.lang.Class<? extends XBRLProcessorFactory> factoryClazz)
Register extension processor.
|
XBRLValidationReport |
validate()
Validate.
|
XBRLValidationReport |
validate(XBRLDocument xDocument)
Validate.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionresolveToURIpublic static final java.lang.String PROCESSORNAME
public static final java.lang.String wrapSourceNS
public static final javax.xml.namespace.QName version
public java.lang.String getName()
getName in interface XBRLPlugInProcessorpublic static void registerExtensionProcessor(java.lang.String processorname,
java.lang.Class<? extends XBRLProcessorFactory> factoryClazz)
processorname - the processornamefactoryClazz - the factory clazzpublic java.util.Collection<IXBRLReceiver> getExtensionProcessors()
This method is used primarily by the IXBRLKeyElementsInterceptor class
to forward events to extension processors
public abstract java.lang.String getIXBRLNamespace()
public abstract java.lang.String getIXBRLVersionFixed()
public abstract java.lang.String getIXBRLSchemaURL()
public DTSContainer getContainer()
getContainer in interface HasDTSContainergetContainer in interface IIXBRLProcessorpublic XBRLValidationReport validate()
validate in interface XBRLPlugInProcessorpublic XBRLValidationReport validate(XBRLDocument xDocument)
validate in interface XBRLPlugInProcessorxDocument - the x documentpublic void configure(java.util.Properties properties)
configure in interface XBRLPlugInProcessorproperties - the propertiespublic boolean isHidden()
isHidden in interface XBRLPlugInProcessorpublic void clear()
clear in interface XBRLPlugInProcessorpublic boolean isFormatDefined(net.sf.saxon.value.QNameValue format)
isFormatDefined in interface IIXBRLProcessorformat - the formatpublic boolean isFormatValueValid(net.sf.saxon.value.QNameValue format,
net.sf.saxon.value.AtomicValue value,
java.util.List<net.sf.saxon.trans.XPathException> outErrors)
isFormatValueValid in interface IIXBRLProcessorformat - the formatvalue - the valueoutErrors - optional, can be null, pass in an instance of a List of XPathExceptions
(with no exceptions at all), in case of validation errors (false will be returned),
the internal XPathException will be added to the list.public boolean isFormatValueValid(net.sf.saxon.value.QNameValue format,
java.lang.String value,
java.util.List<net.sf.saxon.trans.XPathException> outErrors)
format - the formatvalue - the valuepublic net.sf.saxon.type.SchemaType getFormatType(net.sf.saxon.value.QNameValue format)
format - the formatpublic XMLDocumentURI getXBRLInstanceSource(javax.xml.transform.Source sourceTree) throws DTSDiscoveryException, XBRLValidationException
getXBRLInstanceSource in interface IIXBRLProcessorsourceTree - the source document treeDTSDiscoveryException - the DTS discovery exceptionXBRLValidationException - the XBRL validation exceptionpublic net.sf.saxon.om.Item getFormattedValue(javax.xml.namespace.QName format,
java.lang.String effectiveValue)
throws net.sf.saxon.trans.XPathException
format - the formateffectiveValue - the effective valuenet.sf.saxon.trans.XPathException - the x path exceptionpublic java.lang.String[] getTargets()
getTargets in interface IIXBRLProcessorpublic int getSources()
public XBRLInstance getInstance(java.lang.String target)
getInstance in interface IIXBRLProcessortarget - the targetpublic net.sf.saxon.om.NodeInfo getXHTML(int source)
This method can be used while processing XBRLEvent.IXBRL_END events to obtain
the html document representation
source - index of the source document to obtain that is one of the values obtained from getSources().getSources()Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa