Class PSSetPageDeviceElement
java.lang.Object
org.apache.fop.fo.FONode
org.apache.fop.render.ps.extensions.AbstractPSExtensionElement
org.apache.fop.render.ps.extensions.PSSetPageDeviceElement
- All Implemented Interfaces:
Cloneable
Extension element for ps:ps-setpagedevice.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.fop.fo.FONode
FONode.FONodeIterator, FONode.GatherContextInfoFunction -
Field Summary
FieldsFields inherited from class org.apache.fop.render.ps.extensions.AbstractPSExtensionElement
attachmentFields inherited from class org.apache.fop.fo.FONode
FO_URI, FOX_URI, locator, log, nodeChangeBarList, parent, siblings, startOfNodeChangeBarList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the local name (i.e.protected ExtensionAttachmentInstantiates extension attachment objectvoidprocessNode(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.voidCalled after processNode() is called.Methods inherited from class org.apache.fop.render.ps.extensions.AbstractPSExtensionElement
characters, endOfNode, getExtensionAttachment, getNamespaceURI, getNormalNamespacePrefix, validateChildNodeMethods inherited from class org.apache.fop.fo.FONode
addCharacters, addChildNode, attachSiblings, bind, canHaveMarkers, charIterator, clone, clone, collectDelimitedTextRanges, collectDelimitedTextRanges, createPropertyList, decorateWithContextInfo, errorText, finalizeNode, gatherContextInfo, getBuilderContext, getChangeBarList, getChildNodes, getChildNodes, getContentHandlerFactory, getContextInfo, getContextInfoAlt, getFOEventHandler, getFOValidationEventProducer, getLocator, getLocatorString, getLogger, getName, getName, getNameId, getNodePrefix, getNodeString, getParent, getRoot, getStructureTreeElement, getUserAgent, inMarker, invalidChildError, invalidChildError, invalidPropertyValueError, isBidiRangeBlockItem, isChangeBarElement, isDelimitedTextRangeBoundary, missingChildElementError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, nodesOutOfOrderError, notSupportedChildError, removeChild, setLocator, setStructureTreeElement, tooManyNodesError, tooManyNodesError, tooManyNodesError, validateChildNode, warningText
-
Field Details
-
ELEMENT
The element name- See Also:
-
-
Constructor Details
-
PSSetPageDeviceElement
Main constructor- Parameters:
parent- parent FO node
-
-
Method Details
-
startOfNode
Called after processNode() is called. Subclasses can do additional processing.- Overrides:
startOfNodein classFONode- Throws:
FOPException- if there's a problem during processing- See Also:
-
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:
processNodein classFONode- 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- See Also:
-
getLocalName
Description copied from class:FONodeReturns the local name (i.e. without namespace prefix) of the node- Specified by:
getLocalNamein classFONode- Returns:
- local name
- See Also:
-
instantiateExtensionAttachment
Description copied from class:AbstractPSExtensionElementInstantiates extension attachment object- Specified by:
instantiateExtensionAttachmentin classAbstractPSExtensionElement- Returns:
- a new PSSetPageDevice object
- See Also:
-