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 DocumentHandlerpublic void startDocument()
throws SAXException
locator to the
next handler.startDocument in interface DocumentHandlerSAXExceptionpublic void endDocument()
throws SAXException
locator to the
next handler.endDocument in interface DocumentHandlerSAXExceptionpublic void startElement(String name, AttributeList atts) throws SAXException
locator to the
next handler.startElement in interface DocumentHandlerSAXExceptionpublic void endElement(String name) throws SAXException
locator to the
next handler.endElement in interface DocumentHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
locator to the
next handler.characters in interface DocumentHandlerSAXExceptionpublic void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
locator to the
next handler.ignorableWhitespace in interface DocumentHandlerSAXExceptionpublic void processingInstruction(String target, String data) throws SAXException
locator to the
next handler.processingInstruction in interface DocumentHandlerSAXException