com.ihr.xbrl.om.ixbrl
Class IXBRLProcessor

java.lang.Object
  extended by com.ihr.xbrl.om.ixbrl.IXBRLProcessor
All Implemented Interfaces:
XBRLPlugInProcessor

public class IXBRLProcessor
extends java.lang.Object
implements XBRLPlugInProcessor

Author:
Ignacio

Field Summary
static java.lang.String PROCESSORNAME
           
 
Method Summary
 void configure(java.util.Properties properties)
          Configures the processor according with the properties passed in in the properties parameter
static IXBRLProcessor create(DTSContainer dts)
           
 java.lang.String getDescription()
          Returns the processor description so it can be written in validation reports
 java.lang.String getName()
          Returns the processor name so it can be written in validation reports
 XMLDocumentURI getXBRLInstanceSource(XMLDocumentURI sourceTree)
          Extracts from the node the surrounding XBRLInstance as an XdmNode
 XBRLValidationReport validate()
          Validates the content of the DTS according to the rules indicated in this plug-in processor.
 XBRLValidationReport validate(XBRLDocument xDocument)
          Validates the document according to the rules indicated in this plug-in processor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROCESSORNAME

public static final java.lang.String PROCESSORNAME
See Also:
Constant Field Values
Method Detail

create

public static IXBRLProcessor create(DTSContainer dts)
                             throws com.rs.lic.LicenseVerificationException,
                                    XBRLValidationException
Throws:
com.rs.lic.LicenseVerificationException
XBRLValidationException

validate

public XBRLValidationReport validate()
Description copied from interface: XBRLPlugInProcessor
Validates the content of the DTS according to the rules indicated in this plug-in processor.

This is the method that is called by the DTSContainer on each XBRLPlugInProcessor when the validation() method is called on the DTSContainer instance.

Specified by:
validate in interface XBRLPlugInProcessor
Returns:
an XBRLValidationReport object XBRLValidationReport

getXBRLInstanceSource

public XMLDocumentURI getXBRLInstanceSource(XMLDocumentURI sourceTree)
                                     throws DTSDiscoveryException
Extracts from the node the surrounding XBRLInstance as an XdmNode

Parameters:
sourceTree - the source document tree
Returns:
XdmNode a new tree
Throws:
DTSDiscoveryException

getDescription

public java.lang.String getDescription()
Description copied from interface: XBRLPlugInProcessor
Returns the processor description so it can be written in validation reports

Specified by:
getDescription in interface XBRLPlugInProcessor

getName

public java.lang.String getName()
Description copied from interface: XBRLPlugInProcessor
Returns the processor name so it can be written in validation reports

Specified by:
getName in interface XBRLPlugInProcessor

configure

public void configure(java.util.Properties properties)
Description copied from interface: XBRLPlugInProcessor
Configures the processor according with the properties passed in in the properties parameter

Specified by:
configure in interface XBRLPlugInProcessor

validate

public XBRLValidationReport validate(XBRLDocument xDocument)
Description copied from interface: XBRLPlugInProcessor
Validates the document according to the rules indicated in this plug-in processor.

Specified by:
validate in interface XBRLPlugInProcessor
Returns:
an XBRLValidationReport object XBRLValidationReport


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa