public class NumberDateStyleElement extends OdfElement
| Modifier and Type | Field and Description |
|---|---|
static OdfName |
ELEMENT_NAME |
localName, namespaceURIattributes, namefirstChild, fNodeListCache, ownerDocumentnextSibling, previousSiblingDOCUMENT_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_NODEATTRIBUTE_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_NODEDERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION| Constructor and Description |
|---|
NumberDateStyleElement(OdfFileDom ownerDoc)
Create the instance of
NumberDateStyleElement |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations.
|
Boolean |
getNumberAutomaticOrderAttribute()
Receives the value of the ODFDOM attribute representation
NumberAutomaticOrderAttribute
, See number:automatic-order |
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 |
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.
|
NumberDayElement |
newNumberDayElement()
Create child element number:day.
|
NumberDayOfWeekElement |
newNumberDayOfWeekElement()
Create child element number:day-of-week.
|
NumberEraElement |
newNumberEraElement()
Create child element number:era.
|
NumberHoursElement |
newNumberHoursElement()
Create child element number:hours.
|
NumberMinutesElement |
newNumberMinutesElement()
Create child element number:minutes.
|
NumberMonthElement |
newNumberMonthElement()
Create child element number:month.
|
NumberQuarterElement |
newNumberQuarterElement()
Create child element number:quarter.
|
NumberSecondsElement |
newNumberSecondsElement()
Create child element number:seconds.
|
NumberTextElement |
newNumberTextElement()
Create child element number:text.
|
NumberWeekOfYearElement |
newNumberWeekOfYearElement()
Create child element number:week-of-year.
|
NumberYearElement |
newNumberYearElement()
Create child element number:year.
|
StyleMapElement |
newStyleMapElement(String styleApplyStyleNameValue,
String styleConditionValue)
Create child element style:map.
|
StyleTextPropertiesElement |
newStyleTextPropertiesElement(String textDisplayValue)
Create child element style:text-properties.
|
void |
setNumberAutomaticOrderAttribute(Boolean numberAutomaticOrderValue)
Sets the value of ODFDOM attribute representation
NumberAutomaticOrderAttribute ,
See number:automatic-order |
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 |
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, toStringgetLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setTypegetAttribute, 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, synchronizeDatagetChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildrengetNextSibling, getParentNode, getPreviousSiblingaddEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserDataclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserDatapublic static final OdfName ELEMENT_NAME
public NumberDateStyleElement(OdfFileDom ownerDoc)
NumberDateStyleElementownerDoc - The type is OdfFileDompublic OdfName getOdfName()
getOdfName in class OdfElementOdfName the name of element number:date-style.public Boolean getNumberAutomaticOrderAttribute()
NumberAutomaticOrderAttribute
, See number:automatic-orderBoolean , the value or null, if the attribute is not
set and no default value defined.public void setNumberAutomaticOrderAttribute(Boolean numberAutomaticOrderValue)
NumberAutomaticOrderAttribute ,
See number:automatic-ordernumberAutomaticOrderValue - The type is Booleanpublic 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 Stringpublic 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 Stringpublic 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 Stringpublic 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 Stringpublic 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 Stringpublic 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 Stringpublic 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 Stringpublic 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 Stringpublic 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 Stringpublic 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 Stringpublic 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 Stringpublic 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 Stringpublic 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 Booleanpublic NumberAmPmElement newNumberAmPmElement()
public NumberDayElement newNumberDayElement()
public NumberDayOfWeekElement newNumberDayOfWeekElement()
public NumberEraElement newNumberEraElement()
public NumberHoursElement newNumberHoursElement()
public NumberMinutesElement newNumberMinutesElement()
public NumberMonthElement newNumberMonthElement()
public NumberQuarterElement newNumberQuarterElement()
public NumberSecondsElement newNumberSecondsElement()
public NumberTextElement newNumberTextElement()
public NumberWeekOfYearElement newNumberWeekOfYearElement()
public NumberYearElement newNumberYearElement()
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)
OdfElementaccept in class OdfElementvisitor - an instance of DefaultElementVisitorCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.