Class PSSetPageDevice
java.lang.Object
org.apache.fop.render.ps.extensions.PSExtensionAttachment
org.apache.fop.render.ps.extensions.PSSetPageDevice
- All Implemented Interfaces:
ExtensionAttachment
,org.apache.xmlgraphics.util.XMLizable
Element for postscript setpagedevice instruction
This is a an extension which provides a pass-through value
dictionary object for the postscript setpagedevice instruction.
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
element nameprotected String
name attributeFields inherited from class org.apache.fop.render.ps.extensions.PSExtensionAttachment
CATEGORY, content
-
Constructor Summary
ConstructorDescriptionconstructorPSSetPageDevice
(String content) default constructorPSSetPageDevice
(String name, String content) constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getName()
void
Sets the name of the setup code object.void
toSAX
(ContentHandler handler) Generates SAX events representing the object's state.toString()
Methods inherited from class org.apache.fop.render.ps.extensions.PSExtensionAttachment
getCategory, getContent, getType, setContent
-
Field Details
-
ELEMENT
element name- See Also:
-
name
name attribute
-
-
Constructor Details
-
PSSetPageDevice
default constructor- Parameters:
content
- set page device dictionary
-
PSSetPageDevice
constructor- Parameters:
name
- name attribute of this setpagedevice contentcontent
- set page device dictionary
-
PSSetPageDevice
public PSSetPageDevice()constructor
-
-
Method Details
-
getName
- Returns:
- the name
-
setName
Sets the name of the setup code object.- Parameters:
name
- The name to set.
-
toString
- Overrides:
toString
in classPSExtensionAttachment
- Returns:
- a string representation of this object
- See Also:
-
getElement
- Specified by:
getElement
in classPSExtensionAttachment
- Returns:
- a string representation of this object
- See Also:
-
toSAX
Generates SAX events representing the object's state.- Specified by:
toSAX
in interfaceorg.apache.xmlgraphics.util.XMLizable
- Overrides:
toSAX
in classPSExtensionAttachment
- Parameters:
handler
- ContentHandler instance to send the SAX events to- Throws:
SAXException
- if there's a problem generating the SAX events- See Also:
-
XMLizable.toSAX(org.xml.sax.ContentHandler)
-