org.apache.fop.render.ps.extensions
Class PSSetPageDevice
- ExtensionAttachment, XMLizable
public class PSSetPageDevice
Element for postscript setpagedevice instruction
This is a an extension which provides a pass-through value
dictionary object for the postscript setpagedevice instruction.
protected static String | ELEMENT - element name
|
protected String | name - name attribute
|
protected String | getElement()
|
String | getName()
|
void | setName(String name) - Sets the name of the setup code object.
|
void | toSAX(ContentHandler handler) - Generates SAX events representing the object's state.
|
String | toString()
|
ELEMENT
protected static final String ELEMENT
element name
name
protected String name
name attribute
PSSetPageDevice
public PSSetPageDevice()
constructor
PSSetPageDevice
public PSSetPageDevice(String content)
default constructor
content
- set page device dictionary
PSSetPageDevice
public PSSetPageDevice(String name,
String content)
constructor
name
- name attribute of this setpagedevice contentcontent
- set page device dictionary
getName
public String getName()
setName
public void setName(String name)
Sets the name of the setup code object.
toSAX
public void toSAX(ContentHandler handler)
throws SAXException
Generates SAX events representing the object's state.
- toSAX in interface PSExtensionAttachment
handler
- ContentHandler instance to send the SAX events to
org.apache.xmlgraphics.util.XMLizable.toSAX(org.xml.sax.ContentHandler)
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.