org.xbrlapi.xdt
Class LoaderImpl
java.lang.Object
org.xbrlapi.loader.LoaderImpl
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
|
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 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 |
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)
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