org.apache.fop.fo
Class UnknownXMLObj
java.lang.Object
org.apache.fop.fo.FONode
org.apache.fop.fo.XMLObj
org.apache.fop.fo.UnknownXMLObj
- All Implemented Interfaces:
- java.lang.Cloneable, ContentHandlerFactory.ObjectBuiltListener, java.util.EventListener
- public class UnknownXMLObj
- extends XMLObj
Class for handling generic XML from a namespace not recognized by FOP
|
Constructor Summary |
protected |
UnknownXMLObj(FONode parent,
java.lang.String space)
Constructs an unknown xml object (called by Maker). |
| Methods inherited from class org.apache.fop.fo.FONode |
attachSiblings, attributeError, attributeWarning, bind, canHaveMarkers, charIterator, clone, clone, createPropertyList, decorateWithContextInfo, endOfNode, errorText, gatherContextInfo, getChildNodes, getChildNodes, getContentHandlerFactory, getContextInfo, getExtensionAttachment, getFOEventHandler, getLocator, getLocatorString, getLogger, getName, getName, getNameId, getNodeString, getParent, getRoot, getUserAgent, inMarker, invalidChildError, invalidChildError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, removeChild, setLocator, startOfNode, tooManyNodesError, tooManyNodesError, validateChildNode, warningText |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnknownXMLObj
protected UnknownXMLObj(FONode parent,
java.lang.String space)
- Constructs an unknown xml object (called by Maker).
- Parameters:
parent - the parent formatting objectspace - the namespace for this object
getNamespaceURI
public java.lang.String getNamespaceURI()
-
- Overrides:
getNamespaceURI in class FONode
- Returns:
- the namespace URI for this node
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)
addChildNode
protected void addChildNode(FONode child)
- Adds a node as a child of this node. The default implementation of this method
just ignores any child node being added.
- Overrides:
addChildNode in class XMLObj
addCharacters
protected void addCharacters(char[] data,
int start,
int length,
PropertyList pList,
org.xml.sax.Locator locator)
- Add parsed characters to this object
- Overrides:
addCharacters in class XMLObj
- Parameters:
data - array of characters contaning the text to addstart - starting array element to addlength - number of characters from the array to addpList - the currently applicable property listlocator - location in fo source file.
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.