fop 0.95

org.apache.fop.fo
Class UnknownXMLObj

java.lang.Object
  extended by org.apache.fop.fo.FONode
      extended by org.apache.fop.fo.XMLObj
          extended by org.apache.fop.fo.UnknownXMLObj
All Implemented Interfaces:
java.lang.Cloneable, java.util.EventListener, ContentHandlerFactory.ObjectBuiltListener

public class UnknownXMLObj
extends XMLObj

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


Nested Class Summary
static class UnknownXMLObj.Maker
          Inner class for an UnknownXMLObj Maker
 
Nested classes/interfaces inherited from class org.apache.fop.fo.FONode
FONode.FONodeIterator
 
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, FOX_URI, locator, log, parent, siblings
 
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, getIntrinsicAlignmentAdjust, getLocalName, notifyObjectBuilt, processNode, validateChildNode
 
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
 

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
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
Parameters:
child - child node to be added to the childNodes of this node

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 add
start - starting array element to add
length - number of characters from the array to add
pList - the currently applicable property list
locator - location in fo source file.

fop 0.95

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