|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.ps.extensions.PSSetupCode
public class PSSetupCode
This is the pass-through value object for the PostScript extension.
Field Summary | |
---|---|
static java.lang.String |
CATEGORY
The category URI for this extension attachment. |
Constructor Summary | |
---|---|
PSSetupCode()
No-argument contructor. |
|
PSSetupCode(java.lang.String name,
java.lang.String content)
Default constructor. |
Method Summary | |
---|---|
java.lang.String |
getCategory()
This method returns a category URI that allows a processor (layout manager or renderer) to determine if it supports this object. |
java.lang.String |
getContent()
|
java.lang.String |
getName()
|
void |
setContent(java.lang.String content)
Sets the content for the setup code object. |
void |
setName(java.lang.String name)
Sets the name of the setup code object. |
void |
toSAX(org.xml.sax.ContentHandler handler)
Generates SAX events representing the object's state. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CATEGORY
Constructor Detail |
---|
public PSSetupCode()
public PSSetupCode(java.lang.String name, java.lang.String content)
name
- the name of the setup code object, may be nullcontent
- the content of the setup code objectMethod Detail |
---|
public java.lang.String getContent()
public void setContent(java.lang.String content)
content
- The content to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getCategory()
ExtensionAttachment
getCategory
in interface ExtensionAttachment
ExtensionAttachment.getCategory()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public void toSAX(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
XMLizable
toSAX
in interface XMLizable
handler
- ContentHandler instance to send the SAX events to
org.xml.sax.SAXException
- if there's a problem generating the SAX eventsXMLizable.toSAX(org.xml.sax.ContentHandler)
|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |