org.apache.fop.render.ps.extensions
Class PSSetupCode
java.lang.Object
org.apache.fop.render.ps.extensions.PSSetupCode
- ExtensionAttachment, Serializable, XMLizable
public class PSSetupCode
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.
|
CATEGORY
public static final String CATEGORY
The category URI for this extension attachment.
PSSetupCode
public PSSetupCode()
No-argument contructor.
PSSetupCode
public PSSetupCode(String name,
String content)
Default constructor.
name
- the name of the setup code object, may be nullcontent
- the content of the setup code object
getContent
public String getContent()
getName
public String getName()
setContent
public void setContent(String content)
Sets the content for the setup code object.
content
- The content to set.
setName
public void setName(String name)
Sets the name of the setup code object.
toSAX
public void toSAX(ContentHandler handler)
throws SAXException
- toSAX in interface XMLizable
org.apache.fop.util.XMLizable.toSAX(org.xml.sax.ContentHandler)
toString
public String toString()
java.lang.Object.toString()
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.