org.apache.fop.area.inline
Class ForeignObject
- Serializable
public class ForeignObject
Foreign object inline area.
This inline area represents an instream-foreign object.
This holds an xml document and the associated namespace.
BT , CLASS_ABSOLUTE , CLASS_BEFORE_FLOAT , CLASS_FIXED , CLASS_FOOTNOTE , CLASS_MAX , CLASS_NORMAL , CLASS_SIDE_FLOAT , LR , ORIENT_0 , ORIENT_180 , ORIENT_270 , ORIENT_90 , RL , TB , bpd , ipd , log , props |
ForeignObject(Document d, String ns) - Create a new foreign object with the given dom and namespace.
|
ForeignObject(String ns) - Create a new empty foreign object for which the DOM Document will be set later.
|
Document | getDocument() - Get the document for this foreign object.
|
String | getNameSpace() - Get the namespace of this foreign object.
|
void | setDocument(Document document) - Sets the DOM document for this foreign object.
|
addChildArea , addTrait , addTrait , getAllocBPD , getAllocIPD , getAreaClass , getBPD , getBooleanTrait , getBorderAndPaddingWidthAfter , getBorderAndPaddingWidthBefore , getBorderAndPaddingWidthEnd , getBorderAndPaddingWidthStart , getIPD , getSpaceAfter , getSpaceBefore , getSpaceEnd , getSpaceStart , getTrait , getTraitAsInteger , getTraits , hasTrait , hasTraits , setAreaClass , setBPD , setIPD , toString |
ForeignObject
public ForeignObject(Document d,
String ns)
Create a new foreign object with the given dom and namespace.
d
- the xml documentns
- the namespace of the document
ForeignObject
public ForeignObject(String ns)
Create a new empty foreign object for which the DOM Document will be set later.
ns
- the namespace of the document
getDocument
public Document getDocument()
Get the document for this foreign object.
getNameSpace
public String getNameSpace()
Get the namespace of this foreign object.
- the namespace of this document
setDocument
public void setDocument(Document document)
Sets the DOM document for this foreign object.
document
- the DOM document
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.