Class PSExtensionHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.fop.render.ps.extensions.PSExtensionHandler
- All Implemented Interfaces:
ContentHandlerFactory.ObjectSource,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class PSExtensionHandler
extends DefaultHandler
implements ContentHandlerFactory.ObjectSource
ContentHandler (parser) for restoring PSExtension objects from XML.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.apache.commons.logging.LogLogger instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidvoidendElement(String uri, String localName, String qName) voidSet a listener which gets notified when the object is fully built.voidstartElement(String uri, String localName, String qName, Attributes attributes) Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
log
protected static final org.apache.commons.logging.Log logLogger instance
-
-
Constructor Details
-
PSExtensionHandler
public PSExtensionHandler()
-
-
Method Details
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler- Throws:
SAXException
-
endDocument
- Specified by:
endDocumentin interfaceContentHandler- Overrides:
endDocumentin classDefaultHandler- Throws:
SAXException
-
getObject
- Specified by:
getObjectin interfaceContentHandlerFactory.ObjectSource- Returns:
- the object parsed from the SAX stream (call valid after parsing)
-
setObjectBuiltListener
Set a listener which gets notified when the object is fully built.- Specified by:
setObjectBuiltListenerin interfaceContentHandlerFactory.ObjectSource- Parameters:
listener- the listener which gets notified
-