public class ForeignObject extends Area
bidiLevel, bpd, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, effectiveIPD, ipd, log, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, traitsextensionAttachments, foreignAttributes| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
activateEffectiveIPD, addChildArea, addTrait, clone, getAllocBPD, getAllocIPD, getAreaClass, getBidiLevel, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getChangeBarList, getEffectiveAllocIPD, getEffectiveIPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, isFromFootnote, resetBidiLevel, setAreaClass, setBidiLevel, setBPD, setChangeBarList, setFromFootnote, setIPD, setTraits, setWritingModeTraits, toStringaddExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributespublic ForeignObject(Document d, String ns)
d - the xml documentns - the namespace of the documentpublic ForeignObject(String ns)
ns - the namespace of the documentpublic void setDocument(Document document)
document - the DOM documentpublic Document getDocument()
public String getNameSpace()
Copyright © 2025 Apache Software Foundation. All rights reserved.