fop 0.90alpha1

org.apache.fop.area.inline
Class ForeignObject

java.lang.Object
  |
  +--org.apache.fop.area.Area
        |
        +--org.apache.fop.area.inline.ForeignObject
All Implemented Interfaces:
java.io.Serializable

public class ForeignObject
extends Area

Foreign object inline area. This inline area represents an instream-foreign object. This holds an xml document and the associated namespace.

See Also:
Serialized Form

Fields inherited from class org.apache.fop.area.Area
bpd, BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, props, RL, TB
 
Constructor Summary
ForeignObject(org.w3c.dom.Document d, java.lang.String ns)
          Create a new foreign object with the given dom and namespace.
 
Method Summary
 org.w3c.dom.Document getDocument()
          Get the document for this foreign object.
 java.lang.String getNameSpace()
          Get the namespace of this foreign object.
 
Methods inherited from class org.apache.fop.area.Area
addChildArea, addTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForeignObject

public ForeignObject(org.w3c.dom.Document d,
                     java.lang.String ns)
Create a new foreign object with the given dom and namespace.
Parameters:
d - the xml document
ns - the namespace of the document
Method Detail

getDocument

public org.w3c.dom.Document getDocument()
Get the document for this foreign object.
Returns:
the xml document

getNameSpace

public java.lang.String getNameSpace()
Get the namespace of this foreign object.
Returns:
the namespace of this document

fop 0.90alpha1

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