fop 0.91beta

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

public class UnknownXMLObj
extends XMLObj

Class for handling generic XML from a namespace not recognized by FOP


Inner Class Summary
static class UnknownXMLObj.Maker
          Inner class for an UnknownXMLObj Maker
 
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
protected UnknownXMLObj(FONode parent, java.lang.String space)
          Constructs an unknown xml object (called by Maker).
 
Method Summary
protected  void addCharacters(char[] data, int start, int length, PropertyList pList, org.xml.sax.Locator locator)
          Add parsed characters to this object
protected  void addChildNode(FONode child)
          Adds a node as a child of this node.
 java.lang.String getNamespaceURI()
           
 java.lang.String getNormalNamespacePrefix()
           
 
Methods inherited from class org.apache.fop.fo.XMLObj
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, getExtensionAttachment, 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

UnknownXMLObj

protected UnknownXMLObj(FONode parent,
                        java.lang.String space)
Constructs an unknown xml object (called by Maker).
Parameters:
parent - the parent formatting object
space - the namespace for this object
Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI()
Overrides:
getNamespaceURI in class FONode
See Also:
FONode.getNamespaceURI()

getNormalNamespacePrefix

public java.lang.String getNormalNamespacePrefix()
Overrides:
getNormalNamespacePrefix in class FONode
See Also:
FONode.getNormalNamespacePrefix()

addChildNode

protected void addChildNode(FONode child)
Description copied from class: FONode
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
See Also:
FONode.addChildNode(FONode)

addCharacters

protected void addCharacters(char[] data,
                             int start,
                             int length,
                             PropertyList pList,
                             org.xml.sax.Locator locator)
Description copied from class: XMLObj
Add parsed characters to this object
Overrides:
addCharacters in class XMLObj
See Also:
XMLObj.addCharacters(char[], int, int, org.apache.fop.fo.PropertyList, org.xml.sax.Locator)

fop 0.91beta

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