public class ForeignObject extends 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
extensionAttachments, foreignAttributes
Constructor and Description |
---|
ForeignObject(org.w3c.dom.Document d,
java.lang.String ns)
Create a new foreign object with the given dom and namespace.
|
ForeignObject(java.lang.String ns)
Create a new empty foreign object for which the DOM Document will be set later.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
getDocument()
Get the document for this foreign object.
|
java.lang.String |
getNameSpace()
Get the namespace of this foreign object.
|
void |
setDocument(org.w3c.dom.Document document)
Sets the DOM document for this foreign object.
|
addChildArea, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes
public ForeignObject(org.w3c.dom.Document d, java.lang.String ns)
d
- the xml documentns
- the namespace of the documentpublic ForeignObject(java.lang.String ns)
ns
- the namespace of the documentpublic void setDocument(org.w3c.dom.Document document)
document
- the DOM documentpublic org.w3c.dom.Document getDocument()
public java.lang.String getNameSpace()
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.