org.odftoolkit.odfdom.dom.element.text
public class TextExpressionElement extends OdfElement
Modifier and Type | Field and Description |
---|---|
static OdfName |
ELEMENT_NAME |
localName, namespaceURI
attributes, name
firstChild, fNodeListCache, ownerDocument
nextSibling, previousSibling
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
Constructor and Description |
---|
TextExpressionElement(OdfFileDom ownerDoc)
Create the instance of
TextExpressionElement |
Modifier and Type | Method and Description |
---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations.
|
OdfName |
getOdfName()
Get the element name
|
Boolean |
getOfficeBooleanValueAttribute()
Receives the value of the ODFDOM attribute representation
OfficeBooleanValueAttribute , See office:boolean-value |
String |
getOfficeCurrencyAttribute()
Receives the value of the ODFDOM attribute representation
OfficeCurrencyAttribute , See office:currency |
String |
getOfficeDateValueAttribute()
Receives the value of the ODFDOM attribute representation
OfficeDateValueAttribute , See office:date-value |
String |
getOfficeStringValueAttribute()
Receives the value of the ODFDOM attribute representation
OfficeStringValueAttribute , See office:string-value |
String |
getOfficeTimeValueAttribute()
Receives the value of the ODFDOM attribute representation
OfficeTimeValueAttribute , See office:time-value |
Double |
getOfficeValueAttribute()
Receives the value of the ODFDOM attribute representation
OfficeValueAttribute , See office:value
Attribute is mandatory. |
String |
getOfficeValueTypeAttribute()
Receives the value of the ODFDOM attribute representation
OfficeValueTypeAttribute , See office:value-type
Attribute is mandatory. |
String |
getStyleDataStyleNameAttribute()
Receives the value of the ODFDOM attribute representation
StyleDataStyleNameAttribute , See style:data-style-name |
String |
getTextDisplayAttribute()
Receives the value of the ODFDOM attribute representation
TextDisplayAttribute , See text:display |
String |
getTextFormulaAttribute()
Receives the value of the ODFDOM attribute representation
TextFormulaAttribute , See text:formula |
void |
newTextNode(String content)
Add text content.
|
void |
setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue)
Sets the value of ODFDOM attribute representation
OfficeBooleanValueAttribute , See office:boolean-value |
void |
setOfficeCurrencyAttribute(String officeCurrencyValue)
Sets the value of ODFDOM attribute representation
OfficeCurrencyAttribute , See office:currency |
void |
setOfficeDateValueAttribute(String officeDateValueValue)
Sets the value of ODFDOM attribute representation
OfficeDateValueAttribute , See office:date-value |
void |
setOfficeStringValueAttribute(String officeStringValueValue)
Sets the value of ODFDOM attribute representation
OfficeStringValueAttribute , See office:string-value |
void |
setOfficeTimeValueAttribute(String officeTimeValueValue)
Sets the value of ODFDOM attribute representation
OfficeTimeValueAttribute , See office:time-value |
void |
setOfficeValueAttribute(Double officeValueValue)
Sets the value of ODFDOM attribute representation
OfficeValueAttribute , See office:value |
void |
setOfficeValueTypeAttribute(String officeValueTypeValue)
Sets the value of ODFDOM attribute representation
OfficeValueTypeAttribute , See office:value-type |
void |
setStyleDataStyleNameAttribute(String styleDataStyleNameValue)
Sets the value of ODFDOM attribute representation
StyleDataStyleNameAttribute , See style:data-style-name |
void |
setTextDisplayAttribute(String textDisplayValue)
Sets the value of ODFDOM attribute representation
TextDisplayAttribute , See text:display |
void |
setTextFormulaAttribute(String textFormulaValue)
Sets the value of ODFDOM attribute representation
TextFormulaAttribute , See text:formula |
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren
getNextSibling, getParentNode, getPreviousSibling
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
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
public static final OdfName ELEMENT_NAME
public TextExpressionElement(OdfFileDom ownerDoc)
TextExpressionElement
ownerDoc
- The type is OdfFileDom
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element text:expression.public Boolean getOfficeBooleanValueAttribute()
OfficeBooleanValueAttribute
, See office:boolean-valueBoolean
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue)
OfficeBooleanValueAttribute
, See office:boolean-valueofficeBooleanValueValue
- The type is Boolean
public String getOfficeCurrencyAttribute()
OfficeCurrencyAttribute
, See office:currencyString
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeCurrencyAttribute(String officeCurrencyValue)
OfficeCurrencyAttribute
, See office:currencyofficeCurrencyValue
- The type is String
public String getOfficeDateValueAttribute()
OfficeDateValueAttribute
, See office:date-valueString
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeDateValueAttribute(String officeDateValueValue)
OfficeDateValueAttribute
, See office:date-valueofficeDateValueValue
- The type is String
public String getOfficeStringValueAttribute()
OfficeStringValueAttribute
, See office:string-valueString
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeStringValueAttribute(String officeStringValueValue)
OfficeStringValueAttribute
, See office:string-valueofficeStringValueValue
- The type is String
public String getOfficeTimeValueAttribute()
OfficeTimeValueAttribute
, See office:time-valueString
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeTimeValueAttribute(String officeTimeValueValue)
OfficeTimeValueAttribute
, See office:time-valueofficeTimeValueValue
- The type is String
public Double getOfficeValueAttribute()
OfficeValueAttribute
, See office:value
Attribute is mandatory.Double
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeValueAttribute(Double officeValueValue)
OfficeValueAttribute
, See office:valueofficeValueValue
- The type is Double
public String getOfficeValueTypeAttribute()
OfficeValueTypeAttribute
, See office:value-type
Attribute is mandatory.String
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeValueTypeAttribute(String officeValueTypeValue)
OfficeValueTypeAttribute
, See office:value-typeofficeValueTypeValue
- The type is String
public String getStyleDataStyleNameAttribute()
StyleDataStyleNameAttribute
, See style:data-style-nameString
, the value or null
, if the attribute is not set and no default value defined.public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue)
StyleDataStyleNameAttribute
, See style:data-style-namestyleDataStyleNameValue
- The type is String
public String getTextDisplayAttribute()
TextDisplayAttribute
, See text:displayString
, the value or null
, if the attribute is not set and no default value defined.public void setTextDisplayAttribute(String textDisplayValue)
TextDisplayAttribute
, See text:displaytextDisplayValue
- The type is String
public String getTextFormulaAttribute()
TextFormulaAttribute
, See text:formulaString
, the value or null
, if the attribute is not set and no default value defined.public void setTextFormulaAttribute(String textFormulaValue)
TextFormulaAttribute
, See text:formulatextFormulaValue
- The type is String
public void accept(ElementVisitor visitor)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitorpublic void newTextNode(String content)
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.