org.apache.fop.render.ps.extensions
Class PSExtensionAttachment
java.lang.Object
org.apache.fop.render.ps.extensions.PSExtensionAttachment
- ExtensionAttachment, XMLizable
public abstract class PSExtensionAttachment
extends java.lang.Object
This is the pass-through value object for the PostScript extension.
static String | CATEGORY - The category URI for this extension attachment.
|
protected String | content - extension node content
|
CATEGORY
public static final String CATEGORY
The category URI for this extension attachment.
content
protected String content
extension node content
PSExtensionAttachment
public PSExtensionAttachment()
No-argument contructor.
PSExtensionAttachment
public PSExtensionAttachment(String content)
Default constructor.
content
- the content of the setup code object
getContent
public String getContent()
getElement
protected abstract String getElement()
getType
public String getType()
setContent
public void setContent(String content)
Sets the content for the setup code object.
content
- The content to set.
toSAX
public void toSAX(ContentHandler handler)
throws SAXException
Generates SAX events representing the object's state.
handler
- ContentHandler instance to send the SAX events to
org.apache.fop.util.XMLizable.toSAX(org.xml.sax.ContentHandler)
toString
public String toString()
- a string representation of this object
java.lang.Object.toString()
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.