public class AFPPageSetup extends AFPExtensionAttachment
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ATT_ENCODING |
protected static String |
ATT_PLACEMENT
placement attribute
|
protected static String |
ATT_VALUE
value attribute
|
protected 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 String |
value
the extension value attribute
|
ATT_NAME, CATEGORY, elementName, name| Constructor and Description |
|---|
AFPPageSetup(String elementName)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Returns the content of the extension.
|
int |
getEncoding() |
ExtensionPlacement |
getPlacement()
Returns the intended placement of the extension inside the generated file.
|
String |
getValue()
Returns the value of the extension.
|
void |
setContent(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(String source)
Sets the value
|
void |
toSAX(ContentHandler handler) |
String |
toString() |
getCategory, getElementName, getName, hasName, setNameprotected static final String ATT_VALUE
protected static final String ATT_ENCODING
protected static final String ATT_PLACEMENT
protected String content
protected String value
protected ExtensionPlacement placement
protected int encoding
public AFPPageSetup(String elementName)
elementName - the name of the setup code object, may be nullpublic int getEncoding()
public void setEncoding(int encoding)
encoding - CCSID character set encodingpublic String getValue()
public void setValue(String source)
source - The value name to set.public String getContent()
public void setContent(String content)
content - The byte data to set.public ExtensionPlacement getPlacement()
public void setPlacement(ExtensionPlacement placement)
placement - the intended placementpublic void toSAX(ContentHandler handler) throws SAXException
SAXExceptionCopyright © 2023 Apache Software Foundation. All rights reserved.