|
fop 2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.afp.extensions.AFPExtensionAttachment
org.apache.fop.render.afp.extensions.AFPPageSetup
public class AFPPageSetup
This is the pass-through value object for the AFP extension.
Field Summary | |
---|---|
protected static java.lang.String |
ATT_ENCODING
|
protected static java.lang.String |
ATT_PLACEMENT
placement attribute |
protected static java.lang.String |
ATT_VALUE
value attribute |
protected java.lang.String |
content
the extension content |
protected int |
encoding
the CCSID character set encoding |
protected ExtensionPlacement |
placement
defines where to place the extension in the generated file |
protected java.lang.String |
value
the extension value attribute |
Fields inherited from class org.apache.fop.render.afp.extensions.AFPExtensionAttachment |
---|
ATT_NAME, CATEGORY, elementName, name |
Constructor Summary | |
---|---|
AFPPageSetup(java.lang.String elementName)
Default constructor. |
Method Summary | |
---|---|
java.lang.String |
getContent()
Returns the content of the extension. |
int |
getEncoding()
|
ExtensionPlacement |
getPlacement()
Returns the intended placement of the extension inside the generated file. |
java.lang.String |
getValue()
Returns the value of the extension. |
void |
setContent(java.lang.String content)
Sets the data |
void |
setEncoding(int encoding)
|
void |
setPlacement(ExtensionPlacement placement)
Sets the intended placement of the extension inside the generated file. |
void |
setValue(java.lang.String source)
Sets the value |
void |
toSAX(org.xml.sax.ContentHandler handler)
|
java.lang.String |
toString()
|
Methods inherited from class org.apache.fop.render.afp.extensions.AFPExtensionAttachment |
---|
getCategory, getElementName, getName, hasName, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String ATT_VALUE
protected static final java.lang.String ATT_ENCODING
protected static final java.lang.String ATT_PLACEMENT
protected java.lang.String content
protected java.lang.String value
protected ExtensionPlacement placement
protected int encoding
Constructor Detail |
---|
public AFPPageSetup(java.lang.String elementName)
elementName
- the name of the setup code object, may be nullMethod Detail |
---|
public int getEncoding()
public void setEncoding(int encoding)
encoding
- CCSID character set encodingpublic 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 ExtensionPlacement getPlacement()
public void setPlacement(ExtensionPlacement placement)
placement
- the intended placementpublic void toSAX(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public java.lang.String toString()
toString
in class java.lang.Object
|
fop 2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |