public class MultiplexRootElementHandler extends RootXmlReadHandler
Constructor and Description |
---|
MultiplexRootElementHandler(org.pentaho.reporting.libraries.resourceloader.ResourceManager manager,
org.pentaho.reporting.libraries.resourceloader.ResourceKey source,
org.pentaho.reporting.libraries.resourceloader.ResourceKey context,
long version,
XmlFactoryModule[] rootHandlers)
Creates a new MultiplexRootElementHandler for the given root handler selection.
|
Modifier and Type | Method and Description |
---|---|
EntityResolver |
getEntityResolver()
Returns the entity resolver used in this handler.
|
ParserEntityResolver |
getParserEntityResolver()
Returns the parent entity resolver used in the element handler.
|
XmlFactoryModule |
getSelectedRootHandler() |
characters, delegate, endElement, getCommentHandler, getContext, getDependencyCollector, getDocumentLocator, getHelperObject, getHelperObjectNames, getParserConfiguration, getResourceManager, getResult, getSource, isFirstCall, isXmlnsUrisNotAvailable, recurse, setDocumentLocator, setHelperObject, setXmlnsUrisNotAvailable, startDocument, startElement, unwind
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
public MultiplexRootElementHandler(org.pentaho.reporting.libraries.resourceloader.ResourceManager manager, org.pentaho.reporting.libraries.resourceloader.ResourceKey source, org.pentaho.reporting.libraries.resourceloader.ResourceKey context, long version, XmlFactoryModule[] rootHandlers)
manager
- the resource manager that loaded this xml-file.source
- the source-key that idenfies from where the file was loaded.context
- the key that should be used to resolve relative paths.version
- the versioning information for the root-file.rootHandlers
- the roothandlers, never null.public EntityResolver getEntityResolver()
getEntityResolver
in class RootXmlReadHandler
public ParserEntityResolver getParserEntityResolver()
public XmlFactoryModule getSelectedRootHandler()