ro.sync.ecss.extensions.dita.conref
Class DITAXMLReaderWrapper
java.lang.Object
ro.sync.ecss.extensions.dita.conref.DITAXMLReaderWrapper
- All Implemented Interfaces:
- XMLReader
public class DITAXMLReaderWrapper
- extends Object
- implements XMLReader
Delegating XML Reader used to parse DITA 'conref' references.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DITAXMLReaderWrapper
public DITAXMLReaderWrapper(XMLReader xmlReader,
String[] topicPath,
String[] endTopicPath)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Constructor.
- Parameters:
xmlReader - The wrapped XML Reader.topicPath - The topic IDs path.endTopicPath - If a "conrefend" is specified, this is the end range path
- Throws:
SAXNotSupportedException
SAXNotRecognizedException
getContentHandler
public ContentHandler getContentHandler()
- Specified by:
getContentHandler in interface XMLReader
- See Also:
XMLReader.getContentHandler()
getDTDHandler
public DTDHandler getDTDHandler()
- Specified by:
getDTDHandler in interface XMLReader
- See Also:
XMLReader.getDTDHandler()
getEntityResolver
public EntityResolver getEntityResolver()
- Specified by:
getEntityResolver in interface XMLReader
- See Also:
XMLReader.getEntityResolver()
getErrorHandler
public ErrorHandler getErrorHandler()
- Specified by:
getErrorHandler in interface XMLReader
- See Also:
XMLReader.getErrorHandler()
getFeature
public boolean getFeature(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
getFeature in interface XMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException- See Also:
XMLReader.getFeature(java.lang.String)
getProperty
public Object getProperty(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
getProperty in interface XMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException- See Also:
XMLReader.getProperty(java.lang.String)
parse
public void parse(InputSource input)
throws IOException,
SAXException
- Specified by:
parse in interface XMLReader
- Throws:
IOException
SAXException- See Also:
XMLReader.parse(org.xml.sax.InputSource)
parse
public void parse(String systemId)
throws IOException,
SAXException
- Specified by:
parse in interface XMLReader
- Throws:
IOException
SAXException- See Also:
XMLReader.parse(java.lang.String)
setContentHandler
public void setContentHandler(ContentHandler handler)
- Specified by:
setContentHandler in interface XMLReader
- See Also:
XMLReader.setContentHandler(org.xml.sax.ContentHandler)
setDTDHandler
public void setDTDHandler(DTDHandler handler)
- Specified by:
setDTDHandler in interface XMLReader
- See Also:
XMLReader.setDTDHandler(org.xml.sax.DTDHandler)
setEntityResolver
public void setEntityResolver(EntityResolver resolver)
- Specified by:
setEntityResolver in interface XMLReader
- See Also:
XMLReader.setEntityResolver(org.xml.sax.EntityResolver)
setErrorHandler
public void setErrorHandler(ErrorHandler handler)
- Specified by:
setErrorHandler in interface XMLReader
- See Also:
XMLReader.setErrorHandler(org.xml.sax.ErrorHandler)
setFeature
public void setFeature(String name,
boolean value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
setFeature in interface XMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException- See Also:
XMLReader.setFeature(java.lang.String, boolean)
setProperty
public void setProperty(String name,
Object value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
setProperty in interface XMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException- See Also:
XMLReader.setProperty(java.lang.String, java.lang.Object)
© Copyright SyncRO Soft SRL 2002 - 2010.