@API(type=INTERNAL,
src=PUBLIC)
public class DITAXMLReaderWrapper
extends java.lang.Object
implements org.xml.sax.XMLReader
Constructor and Description |
---|
DITAXMLReaderWrapper(org.xml.sax.XMLReader xmlReader,
java.lang.String[] topicPath,
java.lang.String[] endTopicPath,
java.lang.String sourceClass,
boolean isKeyReference)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.xml.sax.ContentHandler |
getContentHandler() |
org.xml.sax.DTDHandler |
getDTDHandler() |
org.xml.sax.EntityResolver |
getEntityResolver() |
org.xml.sax.ErrorHandler |
getErrorHandler() |
boolean |
getFeature(java.lang.String name) |
java.lang.Object |
getProperty(java.lang.String name) |
void |
parse(org.xml.sax.InputSource input) |
void |
parse(java.lang.String systemId) |
void |
setContentHandler(org.xml.sax.ContentHandler handler) |
void |
setDTDHandler(org.xml.sax.DTDHandler handler) |
void |
setEntityResolver(org.xml.sax.EntityResolver resolver) |
void |
setErrorHandler(org.xml.sax.ErrorHandler handler) |
void |
setFeature(java.lang.String name,
boolean value) |
void |
setProperty(java.lang.String name,
java.lang.Object value) |
public DITAXMLReaderWrapper(org.xml.sax.XMLReader xmlReader, java.lang.String[] topicPath, java.lang.String[] endTopicPath, java.lang.String sourceClass, boolean isKeyReference) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
xmlReader
- The wrapped XML Reader.topicPath
- The topic IDs path. If null, the first encountered topic will be used.endTopicPath
- If a "conrefend" is specified, this is the end range pathsourceClass
- The class attribute value of the element which makes the conref...isKeyReference
- true
if the reference is a key reference.org.xml.sax.SAXNotSupportedException
org.xml.sax.SAXNotRecognizedException
public org.xml.sax.ContentHandler getContentHandler()
getContentHandler
in interface org.xml.sax.XMLReader
XMLReader.getContentHandler()
public org.xml.sax.DTDHandler getDTDHandler()
getDTDHandler
in interface org.xml.sax.XMLReader
XMLReader.getDTDHandler()
public org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver
in interface org.xml.sax.XMLReader
XMLReader.getEntityResolver()
public org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler
in interface org.xml.sax.XMLReader
XMLReader.getErrorHandler()
public boolean getFeature(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
getFeature
in interface org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
XMLReader.getFeature(java.lang.String)
public java.lang.Object getProperty(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
getProperty
in interface org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
XMLReader.getProperty(java.lang.String)
public void parse(org.xml.sax.InputSource input) throws java.io.IOException, org.xml.sax.SAXException
parse
in interface org.xml.sax.XMLReader
java.io.IOException
org.xml.sax.SAXException
XMLReader.parse(org.xml.sax.InputSource)
public void parse(java.lang.String systemId) throws java.io.IOException, org.xml.sax.SAXException
parse
in interface org.xml.sax.XMLReader
java.io.IOException
org.xml.sax.SAXException
XMLReader.parse(java.lang.String)
public void setContentHandler(org.xml.sax.ContentHandler handler)
setContentHandler
in interface org.xml.sax.XMLReader
XMLReader.setContentHandler(org.xml.sax.ContentHandler)
public void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler
in interface org.xml.sax.XMLReader
XMLReader.setDTDHandler(org.xml.sax.DTDHandler)
public void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver
in interface org.xml.sax.XMLReader
XMLReader.setEntityResolver(org.xml.sax.EntityResolver)
public void setErrorHandler(org.xml.sax.ErrorHandler handler)
setErrorHandler
in interface org.xml.sax.XMLReader
XMLReader.setErrorHandler(org.xml.sax.ErrorHandler)
public void setFeature(java.lang.String name, boolean value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
setFeature
in interface org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
XMLReader.setFeature(java.lang.String, boolean)
public void setProperty(java.lang.String name, java.lang.Object value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
setProperty
in interface org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
XMLReader.setProperty(java.lang.String, java.lang.Object)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.