|
||||||||||
| 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.dom.element.OdfElement
org.odftoolkit.odfdom.dom.element.text.OdfUserDefinedElement
public abstract class OdfUserDefinedElement
DOM implementation of OpenDocument element text:user-defined.
| Field Summary | |
|---|---|
static OdfName |
ELEMENT_NAME
|
| Fields inherited from class org.odftoolkit.odfdom.dom.element.OdfElement |
|---|
mOdfDocument |
| 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 | |
|---|---|
OdfUserDefinedElement(OdfFileDom aOwnerDoc)
Create the instance of OdfUserDefinedElement |
|
| Method Summary | |
|---|---|
OdfBoolean |
getBooleanValue()
Get value of attribute office:boolean-value. |
String |
getDataStyleName()
Get value of attribute style:data-style-name. |
OdfDate |
getDateValue()
Get value of attribute office:date-value. |
OdfBoolean |
getFixed()
Get value of attribute text:fixed. |
String |
getName()
Get value of attribute text:name. |
OdfName |
getOdfName()
Get the element name |
String |
getStringValue()
Get value of attribute office:string-value. |
OdfDuration |
getTimeValue()
Get value of attribute office:time-value. |
Double |
getValue()
Get value of attribute office:value. |
void |
init(String name)
Initialization of the mandatory attributes of OdfUserDefinedElement |
void |
setBooleanValue(OdfBoolean isBooleanValue)
Set value of attribute office:boolean-value. |
void |
setDataStyleName(OdfStyleNameRef dataStyleName)
Set value of attribute style:data-style-name. |
void |
setDateValue(OdfDate dateValue)
Set value of attribute office:date-value. |
void |
setFixed(OdfBoolean isFixed)
Set value of attribute text:fixed. |
void |
setName(String name)
Set value of attribute text:name. |
void |
setStringValue(String stringValue)
Set value of attribute office:string-value. |
void |
setTimeValue(OdfDuration timeValue)
Set value of attribute office:time-value. |
void |
setValue(Double value)
Set value of attribute office:value. |
| Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfElement |
|---|
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, 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 OdfUserDefinedElement(OdfFileDom aOwnerDoc)
aOwnerDoc - The type is OdfFileDom| Method Detail |
|---|
public OdfName getOdfName()
getOdfName in class OdfElementpublic void init(String name)
OdfUserDefinedElement
name - The mandatory attribute text:name"public OdfBoolean getFixed()
public void setFixed(OdfBoolean isFixed)
isFixed - the attribute's type is OdfBooleanpublic String getName()
public void setName(String name)
name - the attribute's type is Stringpublic String getDataStyleName()
public void setDataStyleName(OdfStyleNameRef dataStyleName)
dataStyleName - the attribute's type is OdfStyleNameRefpublic Double getValue()
public void setValue(Double value)
value - the attribute's type is Doublepublic OdfDate getDateValue()
public void setDateValue(OdfDate dateValue)
dateValue - the attribute's type is OdfDatepublic OdfDuration getTimeValue()
public void setTimeValue(OdfDuration timeValue)
timeValue - the attribute's type is OdfDurationpublic OdfBoolean getBooleanValue()
public void setBooleanValue(OdfBoolean isBooleanValue)
isBooleanValue - the attribute's type is OdfBooleanpublic String getStringValue()
public void setStringValue(String stringValue)
stringValue - the attribute's type is String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||