fop 0.95

org.apache.fop.render.afp.extensions
Class AFPPageSetup

java.lang.Object
  extended by org.apache.fop.render.afp.extensions.AFPPageSetup
All Implemented Interfaces:
java.io.Serializable, ExtensionAttachment, org.apache.xmlgraphics.util.XMLizable

public class AFPPageSetup
extends java.lang.Object
implements ExtensionAttachment, java.io.Serializable, org.apache.xmlgraphics.util.XMLizable

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 elementName)
          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 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()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CATEGORY

public static final java.lang.String CATEGORY
The category URI for this extension attachment.

See Also:
Constant Field Values
Constructor Detail

AFPPageSetup

public AFPPageSetup(java.lang.String elementName)
Default constructor.

Parameters:
elementName - the name of the setup code object, may be null
Method Detail

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()
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
Returns:
the category URI

getContent

public java.lang.String getContent()
Returns:
the data

setContent

public void setContent(java.lang.String content)
Sets the data

Parameters:
content - The byte data to set.

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

toSAX

public void toSAX(org.xml.sax.ContentHandler handler)
           throws org.xml.sax.SAXException

Specified by:
toSAX in interface org.apache.xmlgraphics.util.XMLizable
Throws:
org.xml.sax.SAXException

fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.