|
||||||||||
| 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.form.OdfPropertyElement
public abstract class OdfPropertyElement
DOM implementation of OpenDocument element form:property.
| 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 | |
|---|---|
OdfPropertyElement(OdfFileDom aOwnerDoc)
Create the instance of OdfPropertyElement |
|
| Method Summary | |
|---|---|
OdfBoolean |
getBooleanValue()
Get value of attribute office:boolean-value. |
String |
getCurrency()
Get value of attribute office:currency. |
OdfDate |
getDateValue()
Get value of attribute office:date-value. |
OdfName |
getOdfName()
Get the element name |
String |
getPropertyName()
Get value of attribute form:property-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. |
OdfValueMaybeVoidType |
getValueType()
Get value of attribute office:value-type. |
void |
init(String propertyName,
OdfValueMaybeVoidType valueType,
Double value,
OdfDate dateValue,
OdfDuration timeValue,
OdfBoolean booleanValue)
Initialization of the mandatory attributes of OdfPropertyElement |
void |
setBooleanValue(OdfBoolean isBooleanValue)
Set value of attribute office:boolean-value. |
void |
setCurrency(String currency)
Set value of attribute office:currency. |
void |
setDateValue(OdfDate dateValue)
Set value of attribute office:date-value. |
void |
setPropertyName(String propertyName)
Set value of attribute form:property-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. |
void |
setValueType(OdfValueMaybeVoidType valueType)
Set value of attribute office:value-type. |
| 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 OdfPropertyElement(OdfFileDom aOwnerDoc)
aOwnerDoc - The type is OdfFileDom| Method Detail |
|---|
public OdfName getOdfName()
getOdfName in class OdfElement
public void init(String propertyName,
OdfValueMaybeVoidType valueType,
Double value,
OdfDate dateValue,
OdfDuration timeValue,
OdfBoolean booleanValue)
OdfPropertyElement
propertyName - The mandatory attribute form:property-name"valueType - The mandatory attribute office:value-type"value - The mandatory attribute office:value"dateValue - The mandatory attribute office:date-value"timeValue - The mandatory attribute office:time-value"booleanValue - The mandatory attribute office:boolean-value"public String getPropertyName()
public void setPropertyName(String propertyName)
propertyName - the attribute's type is Stringpublic OdfValueMaybeVoidType getValueType()
public void setValueType(OdfValueMaybeVoidType valueType)
valueType - the attribute's type is OdfValueMaybeVoidTypepublic Double getValue()
public void setValue(Double value)
value - the attribute's type is Doublepublic String getCurrency()
public void setCurrency(String currency)
currency - the attribute's type is Stringpublic 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 | |||||||||