public class EmbeddedXMLObject extends EmbeddedObject
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Document |
contentDOM |
protected org.w3c.dom.Document |
settingsDOM |
protected org.w3c.dom.Document |
stylesDOM |
hasChanged, objName, objType, zipFile
Constructor and Description |
---|
EmbeddedXMLObject(java.lang.String name,
java.lang.String type)
Constructor for an embedded object stored using an XML representation.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
getContentDOM()
Returns the content data for this embedded object.
|
org.w3c.dom.Document |
getSettingsDOM()
Returns the settings data for this embedded object.
|
org.w3c.dom.Document |
getStylesDOM()
Returns the style data for this embedded object.
|
void |
setContentDOM(org.w3c.dom.Document content)
Sets the content data for the embedded object.
|
void |
setSettingsDOM(org.w3c.dom.Document settings)
Sets the settings data for the embedded object.
|
void |
setStylesDOM(org.w3c.dom.Document styles)
Sets the styles data for the embedded object.
|
getName, getType
protected org.w3c.dom.Document contentDOM
protected org.w3c.dom.Document settingsDOM
protected org.w3c.dom.Document stylesDOM
public EmbeddedXMLObject(java.lang.String name, java.lang.String type)
name
- The name of the object.type
- The mime-type of the object. See the class summary.public org.w3c.dom.Document getContentDOM() throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
- If any parser error occursjava.io.IOException
- If any IO error occurspublic void setContentDOM(org.w3c.dom.Document content)
content
- DOM representation of the object's content.public org.w3c.dom.Document getSettingsDOM() throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
- If any parser error occursjava.io.IOException
- If any IO error occurspublic void setSettingsDOM(org.w3c.dom.Document settings)
settings
- DOM representation of the object's settings.public org.w3c.dom.Document getStylesDOM() throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
- If any parser error occursjava.io.IOException
- If any IO error occurspublic void setStylesDOM(org.w3c.dom.Document styles)
styles
- DOM representation of the object's styles.