public interface IIXBRLProcessor
the iXBRL 1.0 processor is implemented in the IXBRLProcessor
class
the iXBRL 1.1 processor is implemented in the IXBRL1_1Processor
class
This interface covers the methods in common used by APIs that are processor version agnostic such as the transformation functions in the registry or the validation functions
Modifier and Type | Method and Description |
---|---|
DTSContainer |
getContainer()
Allows to obtain a reference of the current DTSContainer form the IXBRL processor.
|
XBRLInstance |
getInstance(java.lang.String target)
Returns the XBRLInstance generated for the particular target.
|
java.lang.String[] |
getTargets()
Returns an array of unique values collected from the different values of the target attribute on the
IXBRL Document Set in document order.
|
XMLDocumentURI |
getXBRLInstanceSource(javax.xml.transform.Source sourceTree)
Transforms a sourceTree into an XBRLInstance document applying the transformation rules
defined in the IXBRL specification.
|
boolean |
isFormatDefined(net.sf.saxon.value.QNameValue format)
Returns true if the value of the format attribute corresponds with a transformation
function in the registry.
|
boolean |
isFormatValueValid(net.sf.saxon.value.QNameValue format,
net.sf.saxon.value.AtomicValue value,
java.util.List<net.sf.saxon.trans.XPathException> outErrors)
This is the callback method from the rs_ixv:validateFormattedValue that, in turn
validates an incoming value against the type definition in the registry schema.
|
java.net.URI |
resolveToURI(java.lang.String targetNamespace)
Resolve to URI.
|
DTSContainer getContainer()
boolean isFormatDefined(net.sf.saxon.value.QNameValue format)
format
- the QNameValue of the format attributeboolean isFormatValueValid(net.sf.saxon.value.QNameValue format, net.sf.saxon.value.AtomicValue value, java.util.List<net.sf.saxon.trans.XPathException> outErrors)
format
- 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.XMLDocumentURI getXBRLInstanceSource(javax.xml.transform.Source sourceTree) throws DTSDiscoveryException, XBRLValidationException
sourceTree
- the source treeDTSDiscoveryException
- the DTS discovery exceptionXBRLValidationException
- the XBRL validation exceptionjava.net.URI resolveToURI(java.lang.String targetNamespace)
targetNamespace
- the target namespacejava.lang.String[] getTargets()
Note there is always a default target that is documented as the empty string
XBRLInstance getInstance(java.lang.String target)
target
- the targetCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa