XBRLAPI

A Java API for XBRL


org.xbrlapi.xdt
Class LoaderImpl

java.lang.Object
  extended by org.xbrlapi.loader.LoaderImpl
      extended by org.xbrlapi.xdt.LoaderImpl
All Implemented Interfaces:
Serializable, Loader

public class LoaderImpl
extends LoaderImpl
implements Loader, Serializable

Modified loader, adapted to use the XDT SAX content handler to detect XDT fragments.

Author:
Geoffrey Shuetrim (geoff@galexy.net)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.xbrlapi.loader.LoaderImpl
BIG_PRIME, GRAMMAR_POOL, SYMBOL_TABLE
 
Constructor Summary
LoaderImpl(Store store, XLinkProcessor xlinkProcessor, EntityResolver entityResolver)
           
LoaderImpl(Store store, XLinkProcessor xlinkProcessor, EntityResolver entityResolver, List<URI> uris)
           
 
Method Summary
protected  void parse(URI uri)
          Parse an XML Document supplied as a URI the next part of the DTS.
protected  void parse(URI uri, String xml)
          Parse an XML Document supplied as a string the next part of the DTS.
 
Methods inherited from class org.xbrlapi.loader.LoaderImpl
add, cancelInterrupt, discover, discover, discover, discover, discover, discoverNext, equals, getBuilderDOM, getCache, getCurrentFragmentId, getDocumentsStillToAnalyse, getDocumentURI, getEntityResolver, getFragment, getHistory, getNextFragmentId, getStore, getXlinkProcessor, hashCode, hasHistory, incrementFragmentId, isBuildingAFragment, isDiscovering, markDocumentAsExplored, parse, replaceCurrentFragment, requestInterrupt, setCache, setEntityResolver, setHistory, setSchemaLocationAttributeUsage, setStartingURIs, stashURI, stashURIs, storeDocumentsToAnalyse, updateState, useSchemaLocationAttributes
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xbrlapi.loader.Loader
add, cancelInterrupt, discover, discover, discover, discover, discover, discoverNext, getBuilderDOM, getCache, getCurrentFragmentId, getDocumentsStillToAnalyse, getDocumentURI, getEntityResolver, getFragment, getHistory, getNextFragmentId, getStore, getXlinkProcessor, hasHistory, isBuildingAFragment, isDiscovering, replaceCurrentFragment, requestInterrupt, setCache, setEntityResolver, setHistory, setSchemaLocationAttributeUsage, stashURI, stashURIs, storeDocumentsToAnalyse, updateState, useSchemaLocationAttributes
 

Constructor Detail

LoaderImpl

public LoaderImpl(Store store,
                  XLinkProcessor xlinkProcessor,
                  EntityResolver entityResolver)
           throws XBRLException
Throws:
XBRLException
See Also:
LoaderImpl.LoaderImpl(Store, XLinkProcessor, EntityResolver)

LoaderImpl

public LoaderImpl(Store store,
                  XLinkProcessor xlinkProcessor,
                  EntityResolver entityResolver,
                  List<URI> uris)
           throws XBRLException
Throws:
XBRLException
See Also:
LoaderImpl.LoaderImpl(Store, XLinkProcessor, EntityResolver, List)
Method Detail

parse

protected void parse(URI uri)
              throws XBRLException,
                     SAXException,
                     IOException
Parse an XML Document supplied as a URI the next part of the DTS.

Overrides:
parse in class LoaderImpl
Parameters:
uri - The URI of the document to parse.
Throws:
XBRLException - IOException ParserConfigurationException SAXException
SAXException
IOException

parse

protected void parse(URI uri,
                     String xml)
              throws XBRLException,
                     SAXException,
                     IOException
Parse an XML Document supplied as a string the next part of the DTS.

Overrides:
parse in class LoaderImpl
Parameters:
uri - The URI to associate with the supplied XML.
xml - The XML document as a string.
Throws:
XBRLException - IOException SAXException ParserConfigurationException
SAXException
IOException

Get Java XBRL API implementation at SourceForge.net.