public class RSTReader extends DefaultHandler2
| Modifier and Type | Class and Description |
|---|---|
static class |
RSTReader.RSTElements
XML-element types for RST
|
| Constructor and Description |
|---|
RSTReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String namespaceURI,
String localName,
String qName) |
RSTDocument |
getRSTDocument() |
File |
getRstFile()
Returns the file from which the RST Reader actually reads from.
|
void |
setRSTDocument(RSTDocument rstDocument) |
void |
setRstFile(File rstFile)
Sets the file from which the RST Reader actually reads from.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
attributeDecl, comment, elementDecl, endCDATA, endDTD, endEntity, externalEntityDecl, getExternalSubset, internalEntityDecl, resolveEntity, resolveEntity, startCDATA, startDTD, startEntityendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic void setRstFile(File rstFile)
rstFile - the rstFile to setpublic File getRstFile()
public void setRSTDocument(RSTDocument rstDocument)
public RSTDocument getRSTDocument()
public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionDefaultHandler.characters(char[], int, int)public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandleruri - localName - qName - attributes - SAXExceptionpublic void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlernamespaceURI - localName - qName - SAXExceptionCopyright © 2015. All rights reserved.