org.apache.fop.fo

Class UnknownXMLObj

Implemented Interfaces:
Cloneable, ContentHandlerFactory.ObjectBuiltListener, EventListener

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

FOX_URI, FO_URI, locator, log, parent, siblings

Constructor Summary

UnknownXMLObj(FONode parent, String space)
Constructs an unknown xml object (called by Maker).

Method Summary

protected void
addCharacters(data[] , int start, int length, PropertyList pList, Locator locator)
protected void
addChildNode(FONode child)
String
getNamespaceURI()
String
getNormalNamespacePrefix()

Methods inherited from class org.apache.fop.fo.XMLObj

addCharacters, addChildNode, addElement, buildTopLevel, createBasicDocument, getDOMDocument, getDimension, getIntrinsicAlignmentAdjust, getLocalName, notifyObjectBuilt, processNode, validateChildNode

Methods inherited from class org.apache.fop.fo.FONode

addCharacters, addChildNode, attachSiblings, attributeError, attributeWarning, bind, canHaveMarkers, charIterator, clone, clone, createPropertyList, decorateWithContextInfo, endOfNode, errorText, gatherContextInfo, getChildNodes, getChildNodes, getContentHandlerFactory, getContextInfo, getExtensionAttachment, getFOEventHandler, getLocalName, getLocator, getLocatorString, getLogger, getName, getName, getNameId, getNamespaceURI, getNodeString, getNormalNamespacePrefix, getParent, getRoot, getUserAgent, inMarker, invalidChildError, invalidChildError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, processNode, removeChild, setLocator, startOfNode, tooManyNodesError, tooManyNodesError, validateChildNode, warningText

Constructor Details

UnknownXMLObj

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

Method Details

addCharacters

protected void addCharacters(data[] ,
                             int start,
                             int length,
                             PropertyList pList,
                             Locator locator)

addChildNode

protected void addChildNode(FONode child)
Overrides:
addChildNode in interface XMLObj

getNamespaceURI

public String getNamespaceURI()
Overrides:
getNamespaceURI in interface FONode

getNormalNamespacePrefix

public String getNormalNamespacePrefix()
Overrides:
getNormalNamespacePrefix in interface FONode

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