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
FieldsModifier and TypeFieldDescriptionprotected static final Stringelement nameprotected Stringname attributeFields inherited from class org.apache.fop.render.ps.extensions.PSExtensionAttachment
CATEGORY, content -
Constructor Summary
ConstructorsConstructorDescriptionconstructorPSSetPageDevice(String content) default constructorPSSetPageDevice(String name, String content) constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetName()voidSets the name of the setup code object.voidtoSAX(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:
toStringin classPSExtensionAttachment- Returns:
- a string representation of this object
- See Also:
-
getElement
- Specified by:
getElementin classPSExtensionAttachment- Returns:
- a string representation of this object
- See Also:
-
toSAX
Generates SAX events representing the object's state.- Specified by:
toSAXin interfaceorg.apache.xmlgraphics.util.XMLizable- Overrides:
toSAXin classPSExtensionAttachment- Parameters:
handler- ContentHandler instance to send the SAX events to- Throws:
SAXException- if there's a problem generating the SAX events- See Also:
-