public class AFPExtensionHandler extends DefaultHandler implements ContentHandlerFactory.ObjectSource
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
Logger instance
|
Constructor and Description |
---|
AFPExtensionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
Object |
getObject() |
void |
setObjectBuiltListener(ContentHandlerFactory.ObjectBuiltListener listen)
Set a listener which gets notified when the object is fully built.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
SAXException
public Object getObject()
getObject
in interface ContentHandlerFactory.ObjectSource
public void setObjectBuiltListener(ContentHandlerFactory.ObjectBuiltListener listen)
setObjectBuiltListener
in interface ContentHandlerFactory.ObjectSource
listen
- the listener which gets notifiedCopyright © 2025 Apache Software Foundation. All rights reserved.