org.apache.fop.render.afp.extensions
Class AFPPageSetup
java.lang.Object
|
+--org.apache.fop.render.afp.extensions.AFPPageSetup
- All Implemented Interfaces:
- ExtensionAttachment, java.io.Serializable
- public class AFPPageSetup
- extends java.lang.Object
- implements ExtensionAttachment, java.io.Serializable
This is the pass-through value object for the PostScript extension.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
CATEGORY
The category URI for this extension attachment. |
Constructor Summary |
AFPPageSetup(java.lang.String name)
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 |
getElementName()
|
java.lang.String |
getName()
|
java.lang.String |
getValue()
|
void |
setName(java.lang.String name)
Sets the name of the setup code object. |
void |
setValue(java.lang.String source)
Sets the value |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CATEGORY
public static final java.lang.String CATEGORY
- The category URI for this extension attachment.
AFPPageSetup
public AFPPageSetup(java.lang.String name)
- Default constructor.
- Parameters:
name
- the name of the setup code object, may be null
getElementName
public java.lang.String getElementName()
- Returns:
- the name
getName
public java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.String name)
- Sets the name of the setup code object.
- Parameters:
name
- The name to set.
getValue
public java.lang.String getValue()
- Returns:
- the value
setValue
public void setValue(java.lang.String source)
- Sets the value
- Parameters:
source
- The value name to set.
getCategory
public java.lang.String getCategory()
- Description copied from interface:
ExtensionAttachment
- This method returns a category URI that allows a processor (layout manager or renderer)
to determine if it supports this object.
- Specified by:
getCategory
in interface ExtensionAttachment
- See Also:
ExtensionAttachment.getCategory()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.