fop 0.92beta

org.apache.fop.fo.extensions.xmp
Class XMPMetaElement

java.lang.Object
  extended byorg.apache.fop.fo.FONode
      extended byorg.apache.fop.fo.XMLObj
          extended byorg.apache.fop.fo.extensions.xmp.XMPMetaElement
All Implemented Interfaces:
java.lang.Cloneable, ContentHandlerFactory.ObjectBuiltListener, java.util.EventListener

public class XMPMetaElement
extends XMLObj

Represents the top-level "xmpmeta" element used by XMP metadata.


Field Summary
 
Fields inherited from class org.apache.fop.fo.XMLObj
doc, element, name
 
Fields inherited from class org.apache.fop.fo.FONode
FO_URI, locator, log, parent
 
Constructor Summary
XMPMetaElement(FONode parent)
          Main constructor.
 
Method Summary
 ContentHandlerFactory getContentHandlerFactory()
          This method is overridden by extension elements and allows the extension element to return a ContentHandlerFactory.
 ExtensionAttachment getExtensionAttachment()
          This method is overridden by extension elements and allows the extension element to return a pass-through attachment which the parent formatting objects should simply carry with them but otherwise ignore.
 java.lang.String getNamespaceURI()
           
 java.lang.String getNormalNamespacePrefix()
           
 void notifyObjectBuilt(java.lang.Object obj)
          Notifies the listener when the object is fully built.
 
Methods inherited from class org.apache.fop.fo.XMLObj
addCharacters, addChildNode, addElement, buildTopLevel, createBasicDocument, getDimension, getDOMDocument, getLocalName, processNode, validateChildNode
 
Methods inherited from class org.apache.fop.fo.FONode
attributeError, attributeWarning, charIterator, clone, clone, createPropertyList, decorateWithContextInfo, endOfNode, errorText, gatherContextInfo, getChildNodes, getChildNodes, getContextInfo, getFOEventHandler, getLocator, getLocatorString, getLogger, getName, getName, getNameId, getNodeString, getParent, getRoot, getUserAgent, invalidChildError, invalidChildError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, removeChild, setLocator, startOfNode, tooManyNodesError, tooManyNodesError, warningText
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMPMetaElement

public XMPMetaElement(FONode parent)
Main constructor.

Parameters:
parent - the parent formatting object
Method Detail

getNormalNamespacePrefix

public java.lang.String getNormalNamespacePrefix()
Specified by:
getNormalNamespacePrefix in class FONode
Returns:
the normally ussed namespace prefix for this kind of node (ex. "fo" for XSL-FO)
See Also:
FONode.getNormalNamespacePrefix()

getNamespaceURI

public java.lang.String getNamespaceURI()
Overrides:
getNamespaceURI in class FONode
Returns:
the namespace URI for this node
See Also:
FONode.getNamespaceURI()

getContentHandlerFactory

public ContentHandlerFactory getContentHandlerFactory()
Description copied from class: FONode
This method is overridden by extension elements and allows the extension element to return a ContentHandlerFactory. This factory can create ContentHandler implementations that handle foreign XML content by either building up a specific DOM, a Java object or something else.

Overrides:
getContentHandlerFactory in class FONode
Returns:
the ContentHandlerFactory or null if not applicable
See Also:
FONode.getContentHandlerFactory()

getExtensionAttachment

public ExtensionAttachment getExtensionAttachment()
Description copied from class: FONode
This method is overridden by extension elements and allows the extension element to return a pass-through attachment which the parent formatting objects should simply carry with them but otherwise ignore. This mechanism is used to pass non-standard information from the FO tree through to the layout engine and the renderers.

Overrides:
getExtensionAttachment in class FONode
Returns:
the extension attachment if one is created by the extension element, null otherwise.
See Also:
FONode.getExtensionAttachment()

notifyObjectBuilt

public void notifyObjectBuilt(java.lang.Object obj)
Description copied from interface: ContentHandlerFactory.ObjectBuiltListener
Notifies the listener when the object is fully built.

Specified by:
notifyObjectBuilt in interface ContentHandlerFactory.ObjectBuiltListener
Overrides:
notifyObjectBuilt in class XMLObj
See Also:
XMLObj.notifyObjectBuilt(java.lang.Object)

fop 0.92beta

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