public class DefaultDocumentHandler extends Object implements DocumentHandler
Constructor and Description |
---|
DefaultDocumentHandler(org.eclipse.actf.model.internal.dom.sgml.impl.SGMLParser parser)
Constructs DefaultDocumentHandler that points next DocumentHandler hold
by the parser.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length)
Just forwards this method invokation with
locator to the
next handler. |
void |
endDocument()
Just forwards this method invokation with
locator to the
next handler. |
void |
endElement(String name)
Just forwards this method invokation with
locator to the
next handler. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Just forwards this method invokation with
locator to the
next handler. |
void |
processingInstruction(String target,
String data)
Just forwards this method invokation with
locator to the
next handler. |
void |
setDocumentLocator(Locator locator)
Just forwards this method invokation with
locator to the
next handler. |
void |
startDocument()
Just forwards this method invokation with
locator to the
next handler. |
void |
startElement(String name,
AttributeList atts)
Just forwards this method invokation with
locator to the
next handler. |
public DefaultDocumentHandler(org.eclipse.actf.model.internal.dom.sgml.impl.SGMLParser parser)
parser
- parser instance that holds a next handler.public void setDocumentLocator(Locator locator)
locator
to the
next handler.setDocumentLocator
in interface DocumentHandler
public void startDocument() throws SAXException
locator
to the
next handler.startDocument
in interface DocumentHandler
SAXException
public void endDocument() throws SAXException
locator
to the
next handler.endDocument
in interface DocumentHandler
SAXException
public void startElement(String name, AttributeList atts) throws SAXException
locator
to the
next handler.startElement
in interface DocumentHandler
SAXException
public void endElement(String name) throws SAXException
locator
to the
next handler.endElement
in interface DocumentHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
locator
to the
next handler.characters
in interface DocumentHandler
SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
locator
to the
next handler.ignorableWhitespace
in interface DocumentHandler
SAXException
public void processingInstruction(String target, String data) throws SAXException
locator
to the
next handler.processingInstruction
in interface DocumentHandler
SAXException