org.apache.fop.render.afp.extensions
public class AFPPageSetup extends java.lang.Object implements ExtensionAttachment, java.io.Serializable, org.apache.xmlgraphics.util.XMLizable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CATEGORY
The category URI for this extension attachment.
|
| Constructor and Description |
|---|
AFPPageSetup(java.lang.String elementName)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
getElementName() |
java.lang.String |
getName() |
java.lang.String |
getValue() |
void |
setContent(java.lang.String content)
Sets the data
|
void |
setName(java.lang.String name)
Sets the name of the setup code object.
|
void |
setValue(java.lang.String source)
Sets the value
|
void |
toSAX(org.xml.sax.ContentHandler handler) |
java.lang.String |
toString() |
public static final java.lang.String CATEGORY
public AFPPageSetup(java.lang.String elementName)
elementName - the name of the setup code object, may be nullpublic java.lang.String getElementName()
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public java.lang.String getValue()
public void setValue(java.lang.String source)
source - The value name to set.public java.lang.String getCategory()
getCategory in interface ExtensionAttachmentpublic java.lang.String getContent()
public void setContent(java.lang.String content)
content - The byte data to set.public java.lang.String toString()
toString in class java.lang.Objectpublic void toSAX(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
toSAX in interface org.apache.xmlgraphics.util.XMLizableorg.xml.sax.SAXExceptionCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.