public class AFPPageSetup extends AFPExtensionAttachment
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ATT_VALUE
value attribute
|
protected java.lang.String |
content
the extension content
|
protected java.lang.String |
value
the extension value attribute
|
ATT_NAME, CATEGORY, elementName, name| Constructor and Description |
|---|
AFPPageSetup(java.lang.String elementName)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContent()
Returns the content of the extension.
|
java.lang.String |
getValue()
Returns the value of the extension.
|
void |
setContent(java.lang.String content)
Sets the data
|
void |
setValue(java.lang.String source)
Sets the value
|
void |
toSAX(org.xml.sax.ContentHandler handler) |
java.lang.String |
toString() |
getCategory, getElementName, getName, hasName, setNameprotected static final java.lang.String ATT_VALUE
protected java.lang.String content
protected java.lang.String value
public AFPPageSetup(java.lang.String elementName)
elementName - the name of the setup code object, may be nullpublic java.lang.String getValue()
public void setValue(java.lang.String source)
source - The value name to set.public java.lang.String getContent()
public void setContent(java.lang.String content)
content - The byte data to set.public void toSAX(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.