org.apache.fop.render.ps.extensions

Class PSSetPageDeviceElement

Implemented Interfaces:
Cloneable

public class PSSetPageDeviceElement
extends AbstractPSExtensionElement

Extension element for ps:ps-setpagedevice.

Nested Class Summary

Nested classes/interfaces inherited from class org.apache.fop.fo.FONode

FONode.FONodeIterator

Field Summary

protected static String
ELEMENT

Fields inherited from class org.apache.fop.render.ps.extensions.AbstractPSExtensionElement

attachment

Fields inherited from class org.apache.fop.fo.FONode

FOX_URI, FO_URI, locator, log, parent, siblings

Constructor Summary

PSSetPageDeviceElement(FONode parent)
Main constructor

Method Summary

String
getLocalName()
protected ExtensionAttachment
instantiateExtensionAttachment()
void
processNode(String elementName, Locator locator, Attributes attlist, PropertyList propertyList)
Initialize the node with its name, location information, and attributes The attributes must be used immediately as the sax attributes will be altered for the next element.
protected void
startOfNode()
Called after processNode() is called.

Methods inherited from class org.apache.fop.render.ps.extensions.AbstractPSExtensionElement

addCharacters, endOfNode, getExtensionAttachment, getNamespaceURI, getNormalNamespacePrefix, instantiateExtensionAttachment, validateChildNode

Methods inherited from class org.apache.fop.fo.FONode

addCharacters, addChildNode, attachSiblings, attributeError, attributeWarning, bind, canHaveMarkers, charIterator, clone, clone, createPropertyList, decorateWithContextInfo, endOfNode, errorText, gatherContextInfo, getChildNodes, getChildNodes, getContentHandlerFactory, getContextInfo, getExtensionAttachment, getFOEventHandler, getLocalName, getLocator, getLocatorString, getLogger, getName, getName, getNameId, getNamespaceURI, getNodeString, getNormalNamespacePrefix, getParent, getRoot, getUserAgent, inMarker, invalidChildError, invalidChildError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, processNode, removeChild, setLocator, startOfNode, tooManyNodesError, tooManyNodesError, validateChildNode, validateChildNode, warningText

Field Details

ELEMENT

protected static final String ELEMENT

Constructor Details

PSSetPageDeviceElement

protected PSSetPageDeviceElement(FONode parent)
Main constructor
Parameters:
parent - parent FO node

Method Details

getLocalName

public String getLocalName()
Overrides:
getLocalName in interface FONode
Returns:
local name

instantiateExtensionAttachment

protected ExtensionAttachment instantiateExtensionAttachment()
Overrides:
instantiateExtensionAttachment in interface AbstractPSExtensionElement
Returns:
a new PSSetPageDevice object

processNode

public void processNode(String elementName,
                        Locator locator,
                        Attributes attlist,
                        PropertyList propertyList)
            throws FOPException
Initialize the node with its name, location information, and attributes The attributes must be used immediately as the sax attributes will be altered for the next element.
Overrides:
processNode in interface FONode
Parameters:
elementName - element name (e.g., "fo:block")
locator - Locator object (ignored by default)
attlist - Collection of attributes passed to us from the parser.
propertyList - property list
Throws:
FOPException - if there's a problem during processing

startOfNode

protected void startOfNode()
            throws FOPException
Called after processNode() is called. Subclasses can do additional processing.
Overrides:
startOfNode in interface FONode
Throws:
FOPException - if there's a problem during processing

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