org.pentaho.reporting.libraries.xmlns.parser
public class MultiplexRootElementHandler extends RootXmlReadHandler
Constructor Summary | |
---|---|
MultiplexRootElementHandler(ResourceManager manager, ResourceKey source, ResourceKey context, long version, XmlFactoryModule[] rootHandlers)
Creates a new MultiplexRootElementHandler for the given root handler selection.
|
Method Summary | |
---|---|
EntityResolver | getEntityResolver()
Returns the entity resolver used in this handler.
|
ParserEntityResolver | getParserEntityResolver()
Returns the parent entity resolver used in the element handler. |
protected XmlFactoryModule[] | getRootHandlers()
Returns all known roothandlers.
|
XmlFactoryModule | getSelectedRootHandler() |
protected void | interceptFirstStartElement(String originalUri, String localName, String qName, Attributes attributes)
Starts processing an element.
|
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. |
Parameters: 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.
Returns: the entity resolver.
Returns: the entity resolver.
Returns: the known root handlers.
Parameters: originalUri the URI. localName the local name. qName the qName. attributes the attributes.
Throws: SAXException if there is a parsing problem.
Returns: true, if the parser will *NOT* resolve namespaces, false otherwise.
Parameters: xmlnsUrisNotAvailable a flag indicating that the XML parser has troubles resolving namespaces.