org.xml.sax.ContentHandler
, org.xml.sax.DTDHandler
, org.xml.sax.EntityResolver
, org.xml.sax.ErrorHandler
public class MultiplexRootElementHandler extends RootXmlReadHandler
Constructor | 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 | Description |
---|---|---|
org.xml.sax.EntityResolver |
getEntityResolver() |
Returns the entity resolver used in this handler.
|
ParserEntityResolver |
getParserEntityResolver() |
Returns the parent entity resolver used in the element handler.
|
XmlFactoryModule |
getSelectedRootHandler() |
|
boolean |
isXmlnsUrisNotAvailable() |
Returns, whether the parser resolves namespace-URIs.
|
void |
setXmlnsUrisNotAvailable(boolean xmlnsUrisNotAvailable) |
Sets a hint that the parser will not be able to return URIs for XML-Namespaces.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters, delegate, endElement, getCommentHandler, getContext, getDependencyCollector, getDocumentLocator, getHelperObject, getHelperObjectNames, getParserConfiguration, getResourceManager, getResult, getSource, isFirstCall, recurse, setDocumentLocator, setHelperObject, startDocument, startElement, unwind
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 boolean isXmlnsUrisNotAvailable()
public void setXmlnsUrisNotAvailable(boolean xmlnsUrisNotAvailable)
xmlnsUrisNotAvailable
- a flag indicating that the XML parser has troubles resolving namespaces.public org.xml.sax.EntityResolver getEntityResolver()
public ParserEntityResolver getParserEntityResolver()
public XmlFactoryModule getSelectedRootHandler()