org.apache.fop.render.afp.extensions

Class AFPPageSetup

Implemented Interfaces:
ExtensionAttachment, Serializable, XMLizable

public class AFPPageSetup
extends java.lang.Object
implements ExtensionAttachment, Serializable, XMLizable

This is the pass-through value object for the PostScript extension.

Field Summary

static String
CATEGORY
The category URI for this extension attachment.

Constructor Summary

AFPPageSetup(String elementName)
Default constructor.

Method Summary

String
getCategory()
String
getContent()
String
getElementName()
String
getName()
String
getValue()
void
setContent(String content)
Sets the data
void
setName(String name)
Sets the name of the setup code object.
void
setValue(String source)
Sets the value
void
toSAX(ContentHandler handler)
String
toString()

Field Details

CATEGORY

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

Constructor Details

AFPPageSetup

public AFPPageSetup(String elementName)
Default constructor.
Parameters:
elementName - the name of the setup code object, may be null

Method Details

getCategory

public String getCategory()
Specified by:
getCategory in interface ExtensionAttachment

getContent

public String getContent()
Returns:
the data

getElementName

public String getElementName()
Returns:
the name

getName

public String getName()
Returns:
the name

getValue

public String getValue()
Returns:
the value

setContent

public void setContent(String content)
Sets the data
Parameters:
content - The byte data to set.

setName

public void setName(String name)
Sets the name of the setup code object.
Parameters:
name - The name to set.

setValue

public void setValue(String source)
Sets the value
Parameters:
source - The value name to set.

toSAX

public void toSAX(ContentHandler handler)
            throws SAXException

toString

public String toString()

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