|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.odftoolkit.odfdom.pkg.OdfElement
org.odftoolkit.odfdom.dom.element.office.OfficeDocumentElement
public class OfficeDocumentElement
DOM implementation of OpenDocument element office:document.
Field Summary | |
---|---|
static OdfName |
ELEMENT_NAME
|
Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
---|
localName, namespaceURI |
Fields inherited from class org.apache.xerces.dom.ElementImpl |
---|
attributes, name |
Fields inherited from class org.apache.xerces.dom.ParentNode |
---|
firstChild, fNodeListCache, ownerDocument |
Fields inherited from class org.apache.xerces.dom.ChildNode |
---|
nextSibling, previousSibling |
Fields inherited from interface org.w3c.dom.TypeInfo |
---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
Constructor Summary | |
---|---|
OfficeDocumentElement(OdfFileDom ownerDoc)
Create the instance of OfficeDocumentElement |
Method Summary | |
---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations. |
String |
getGrddlTransformationAttribute()
Receives the value of the ODFDOM attribute representation GrddlTransformationAttribute , See grddl:transformation |
OdfName |
getOdfName()
Get the element name |
String |
getOfficeMimetypeAttribute()
Receives the value of the ODFDOM attribute representation OfficeMimetypeAttribute , See office:mimetype
Attribute is mandatory. |
String |
getOfficeVersionAttribute()
Receives the value of the ODFDOM attribute representation OfficeVersionAttribute , See office:version
Attribute is mandatory. |
OfficeAutomaticStylesElement |
newOfficeAutomaticStylesElement()
Create child element office:automatic-styles. |
OfficeBodyElement |
newOfficeBodyElement()
Create child element office:body. |
OfficeFontFaceDeclsElement |
newOfficeFontFaceDeclsElement()
Create child element office:font-face-decls. |
OfficeMasterStylesElement |
newOfficeMasterStylesElement()
Create child element office:master-styles. |
OfficeMetaElement |
newOfficeMetaElement()
Create child element office:meta. |
OfficeScriptsElement |
newOfficeScriptsElement()
Create child element office:scripts. |
OfficeSettingsElement |
newOfficeSettingsElement()
Create child element office:settings. |
OfficeStylesElement |
newOfficeStylesElement()
Create child element office:styles. |
void |
setGrddlTransformationAttribute(String grddlTransformationValue)
Sets the value of ODFDOM attribute representation GrddlTransformationAttribute , See grddl:transformation |
void |
setOfficeMimetypeAttribute(String officeMimetypeValue)
Sets the value of ODFDOM attribute representation OfficeMimetypeAttribute , See office:mimetype |
void |
setOfficeVersionAttribute(String officeVersionValue)
Sets the value of ODFDOM attribute representation OfficeVersionAttribute , See office:version |
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement |
---|
cloneNode, cloneOdfElement, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString |
Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
---|
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues |
Methods inherited from class org.apache.xerces.dom.ParentNode |
---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.ChildNode |
---|
getNextSibling, getParentNode, getPreviousSibling |
Methods inherited from class org.apache.xerces.dom.NodeImpl |
---|
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData |
Field Detail |
---|
public static final OdfName ELEMENT_NAME
Constructor Detail |
---|
public OfficeDocumentElement(OdfFileDom ownerDoc)
OfficeDocumentElement
ownerDoc
- The type is OdfFileDom
Method Detail |
---|
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element office:document.public String getGrddlTransformationAttribute()
GrddlTransformationAttribute
, See grddl:transformation
String
, the value or null
, if the attribute is not set and no default value defined.public void setGrddlTransformationAttribute(String grddlTransformationValue)
GrddlTransformationAttribute
, See grddl:transformation
grddlTransformationValue
- The type is String
public String getOfficeMimetypeAttribute()
OfficeMimetypeAttribute
, See office:mimetype
Attribute is mandatory.
String
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeMimetypeAttribute(String officeMimetypeValue)
OfficeMimetypeAttribute
, See office:mimetype
officeMimetypeValue
- The type is String
public String getOfficeVersionAttribute()
OfficeVersionAttribute
, See office:version
Attribute is mandatory.
String
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeVersionAttribute(String officeVersionValue)
OfficeVersionAttribute
, See office:version
officeVersionValue
- The type is String
public OfficeAutomaticStylesElement newOfficeAutomaticStylesElement()
public OfficeBodyElement newOfficeBodyElement()
public OfficeFontFaceDeclsElement newOfficeFontFaceDeclsElement()
public OfficeMasterStylesElement newOfficeMasterStylesElement()
public OfficeMetaElement newOfficeMetaElement()
public OfficeScriptsElement newOfficeScriptsElement()
public OfficeSettingsElement newOfficeSettingsElement()
public OfficeStylesElement newOfficeStylesElement()
public void accept(ElementVisitor visitor)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |