public class NumberTimeStyleElement 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 |
---|
NumberTimeStyleElement(OdfFileDom ownerDoc)
Create the instance of
NumberTimeStyleElement |
Modifier and Type | Method and Description |
---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations.
|
String |
getNumberCountryAttribute()
Receives the value of the ODFDOM attribute representation
NumberCountryAttribute ,
See number:country |
String |
getNumberFormatSourceAttribute()
Receives the value of the ODFDOM attribute representation
NumberFormatSourceAttribute
, See number:format-source |
String |
getNumberLanguageAttribute()
Receives the value of the ODFDOM attribute representation
NumberLanguageAttribute
, See number:language |
String |
getNumberRfcLanguageTagAttribute()
Receives the value of the ODFDOM attribute representation
NumberRfcLanguageTagAttribute
, See number:rfc-language-tag |
String |
getNumberScriptAttribute()
Receives the value of the ODFDOM attribute representation
NumberScriptAttribute ,
See number:script |
String |
getNumberTitleAttribute()
Receives the value of the ODFDOM attribute representation
NumberTitleAttribute ,
See number:title |
String |
getNumberTransliterationCountryAttribute()
Receives the value of the ODFDOM attribute representation
NumberTransliterationCountryAttribute , See number:transliteration-country |
String |
getNumberTransliterationFormatAttribute()
Receives the value of the ODFDOM attribute representation
NumberTransliterationFormatAttribute , See number:transliteration-format |
String |
getNumberTransliterationLanguageAttribute()
Receives the value of the ODFDOM attribute representation
NumberTransliterationLanguageAttribute , See number:transliteration-language |
String |
getNumberTransliterationStyleAttribute()
Receives the value of the ODFDOM attribute representation
NumberTransliterationStyleAttribute , See number:transliteration-style |
Boolean |
getNumberTruncateOnOverflowAttribute()
Receives the value of the ODFDOM attribute representation
NumberTruncateOnOverflowAttribute , See number:truncate-on-overflow |
OdfName |
getOdfName()
Get the element name
|
String |
getStyleDisplayNameAttribute()
Receives the value of the ODFDOM attribute representation
StyleDisplayNameAttribute
, See style:display-name |
String |
getStyleNameAttribute()
Receives the value of the ODFDOM attribute representation
StyleNameAttribute , See
style:name |
Boolean |
getStyleVolatileAttribute()
Receives the value of the ODFDOM attribute representation
StyleVolatileAttribute ,
See style:volatile |
NumberAmPmElement |
newNumberAmPmElement()
Create child element number:am-pm.
|
NumberHoursElement |
newNumberHoursElement()
Create child element number:hours.
|
NumberMinutesElement |
newNumberMinutesElement()
Create child element number:minutes.
|
NumberSecondsElement |
newNumberSecondsElement()
Create child element number:seconds.
|
NumberTextElement |
newNumberTextElement()
Create child element number:text.
|
StyleMapElement |
newStyleMapElement(String styleApplyStyleNameValue,
String styleConditionValue)
Create child element style:map.
|
StyleTextPropertiesElement |
newStyleTextPropertiesElement(String textDisplayValue)
Create child element style:text-properties.
|
void |
setNumberCountryAttribute(String numberCountryValue)
Sets the value of ODFDOM attribute representation
NumberCountryAttribute , See
number:country |
void |
setNumberFormatSourceAttribute(String numberFormatSourceValue)
Sets the value of ODFDOM attribute representation
NumberFormatSourceAttribute ,
See number:format-source |
void |
setNumberLanguageAttribute(String numberLanguageValue)
Sets the value of ODFDOM attribute representation
NumberLanguageAttribute , See
number:language |
void |
setNumberRfcLanguageTagAttribute(String numberRfcLanguageTagValue)
Sets the value of ODFDOM attribute representation
NumberRfcLanguageTagAttribute ,
See number:rfc-language-tag |
void |
setNumberScriptAttribute(String numberScriptValue)
Sets the value of ODFDOM attribute representation
NumberScriptAttribute , See
number:script |
void |
setNumberTitleAttribute(String numberTitleValue)
Sets the value of ODFDOM attribute representation
NumberTitleAttribute , See
number:title |
void |
setNumberTransliterationCountryAttribute(String numberTransliterationCountryValue)
Sets the value of ODFDOM attribute representation
NumberTransliterationCountryAttribute
, See number:transliteration-country |
void |
setNumberTransliterationFormatAttribute(String numberTransliterationFormatValue)
Sets the value of ODFDOM attribute representation
NumberTransliterationFormatAttribute
, See number:transliteration-format |
void |
setNumberTransliterationLanguageAttribute(String numberTransliterationLanguageValue)
Sets the value of ODFDOM attribute representation
NumberTransliterationLanguageAttribute
, See number:transliteration-language |
void |
setNumberTransliterationStyleAttribute(String numberTransliterationStyleValue)
Sets the value of ODFDOM attribute representation
NumberTransliterationStyleAttribute
, See number:transliteration-style |
void |
setNumberTruncateOnOverflowAttribute(Boolean numberTruncateOnOverflowValue)
Sets the value of ODFDOM attribute representation
NumberTruncateOnOverflowAttribute
, See number:truncate-on-overflow |
void |
setStyleDisplayNameAttribute(String styleDisplayNameValue)
Sets the value of ODFDOM attribute representation
StyleDisplayNameAttribute , See
style:display-name |
void |
setStyleNameAttribute(String styleNameValue)
Sets the value of ODFDOM attribute representation
StyleNameAttribute , See
style:name |
void |
setStyleVolatileAttribute(Boolean styleVolatileValue)
Sets the value of ODFDOM attribute representation
StyleVolatileAttribute , See
style:volatile |
cloneNode, cloneOdfElement, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setType
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, 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 NumberTimeStyleElement(OdfFileDom ownerDoc)
NumberTimeStyleElement
ownerDoc
- The type is OdfFileDom
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element number:time-style.public String getNumberCountryAttribute()
NumberCountryAttribute
,
See number:countryString
, the value or null
, if the attribute is not set
and no default value defined.public void setNumberCountryAttribute(String numberCountryValue)
NumberCountryAttribute
, See
number:countrynumberCountryValue
- The type is String
public String getNumberFormatSourceAttribute()
NumberFormatSourceAttribute
, See number:format-sourceString
, the value or null
, if the attribute is not set
and no default value defined.public void setNumberFormatSourceAttribute(String numberFormatSourceValue)
NumberFormatSourceAttribute
,
See number:format-sourcenumberFormatSourceValue
- The type is String
public String getNumberLanguageAttribute()
NumberLanguageAttribute
, See number:languageString
, the value or null
, if the attribute is not set
and no default value defined.public void setNumberLanguageAttribute(String numberLanguageValue)
NumberLanguageAttribute
, See
number:languagenumberLanguageValue
- The type is String
public String getNumberRfcLanguageTagAttribute()
NumberRfcLanguageTagAttribute
, See number:rfc-language-tagString
, the value or null
, if the attribute is not set
and no default value defined.public void setNumberRfcLanguageTagAttribute(String numberRfcLanguageTagValue)
NumberRfcLanguageTagAttribute
,
See number:rfc-language-tagnumberRfcLanguageTagValue
- The type is String
public String getNumberScriptAttribute()
NumberScriptAttribute
,
See number:scriptString
, the value or null
, if the attribute is not set
and no default value defined.public void setNumberScriptAttribute(String numberScriptValue)
NumberScriptAttribute
, See
number:scriptnumberScriptValue
- The type is String
public String getNumberTitleAttribute()
NumberTitleAttribute
,
See number:titleString
, the value or null
, if the attribute is not set
and no default value defined.public void setNumberTitleAttribute(String numberTitleValue)
NumberTitleAttribute
, See
number:titlenumberTitleValue
- The type is String
public String getNumberTransliterationCountryAttribute()
NumberTransliterationCountryAttribute
, See number:transliteration-countryString
, the value or null
, if the attribute is not set
and no default value defined.public void setNumberTransliterationCountryAttribute(String numberTransliterationCountryValue)
NumberTransliterationCountryAttribute
, See number:transliteration-countrynumberTransliterationCountryValue
- The type is String
public String getNumberTransliterationFormatAttribute()
NumberTransliterationFormatAttribute
, See number:transliteration-formatString
, the value or null
, if the attribute is not set
and no default value defined.public void setNumberTransliterationFormatAttribute(String numberTransliterationFormatValue)
NumberTransliterationFormatAttribute
, See number:transliteration-formatnumberTransliterationFormatValue
- The type is String
public String getNumberTransliterationLanguageAttribute()
NumberTransliterationLanguageAttribute
, See number:transliteration-languageString
, the value or null
, if the attribute is not set
and no default value defined.public void setNumberTransliterationLanguageAttribute(String numberTransliterationLanguageValue)
NumberTransliterationLanguageAttribute
, See number:transliteration-languagenumberTransliterationLanguageValue
- The type is String
public String getNumberTransliterationStyleAttribute()
NumberTransliterationStyleAttribute
, See number:transliteration-styleString
, the value or null
, if the attribute is not set
and no default value defined.public void setNumberTransliterationStyleAttribute(String numberTransliterationStyleValue)
NumberTransliterationStyleAttribute
, See number:transliteration-stylenumberTransliterationStyleValue
- The type is String
public Boolean getNumberTruncateOnOverflowAttribute()
NumberTruncateOnOverflowAttribute
, See number:truncate-on-overflowBoolean
, the value or null
, if the attribute is not
set and no default value defined.public void setNumberTruncateOnOverflowAttribute(Boolean numberTruncateOnOverflowValue)
NumberTruncateOnOverflowAttribute
, See number:truncate-on-overflownumberTruncateOnOverflowValue
- The type is Boolean
public String getStyleDisplayNameAttribute()
StyleDisplayNameAttribute
, See style:display-nameString
, the value or null
, if the attribute is not set
and no default value defined.public void setStyleDisplayNameAttribute(String styleDisplayNameValue)
StyleDisplayNameAttribute
, See
style:display-namestyleDisplayNameValue
- The type is String
public String getStyleNameAttribute()
StyleNameAttribute
, See
style:name
Attribute is mandatory.
String
, the value or null
, if the attribute is not set
and no default value defined.public void setStyleNameAttribute(String styleNameValue)
StyleNameAttribute
, See
style:namestyleNameValue
- The type is String
public Boolean getStyleVolatileAttribute()
StyleVolatileAttribute
,
See style:volatileBoolean
, the value or null
, if the attribute is not
set and no default value defined.public void setStyleVolatileAttribute(Boolean styleVolatileValue)
StyleVolatileAttribute
, See
style:volatilestyleVolatileValue
- The type is Boolean
public NumberAmPmElement newNumberAmPmElement()
public NumberHoursElement newNumberHoursElement()
public NumberMinutesElement newNumberMinutesElement()
public NumberSecondsElement newNumberSecondsElement()
public NumberTextElement newNumberTextElement()
public StyleMapElement newStyleMapElement(String styleApplyStyleNameValue, String styleConditionValue)
styleApplyStyleNameValue
- the String
value of
StyleApplyStyleNameAttribute
, see style:apply-style-name at
specificationstyleConditionValue
- the String
value of StyleConditionAttribute
, see style:condition at specificationpublic StyleTextPropertiesElement newStyleTextPropertiesElement(String textDisplayValue)
textDisplayValue
- the String
value of TextDisplayAttribute
, see
text:display at specificationpublic void accept(ElementVisitor visitor)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitorCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.