public class XSDateTimeImpl extends AbstractValidatingXMLObject implements XSDateTime
XSDateTime.TYPE_LOCAL_NAME, TYPE_NAME| Modifier | Constructor and Description |
|---|---|
protected |
XSDateTimeImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.format.DateTimeFormatter |
getDateTimeFormatter()
Get the
DateTimeFormatter to be used when stringifying
the DateTime value. |
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
org.joda.time.DateTime |
getValue()
Gets the dateTime value.
|
void |
setDateTimeFormatter(org.joda.time.format.DateTimeFormatter newFormatter)
Set the
DateTimeFormatter to be used when stringifying
the DateTime value. |
void |
setValue(org.joda.time.DateTime newValue)
Sets the dateTime value.
|
deregisterValidator, getValidators, registerValidator, validate, validateChildrenaddNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitderegisterValidator, getValidators, registerValidator, validateaddNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprotected XSDateTimeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI - the namespace the element is inelementLocalName - the local name of the XML element this Object representsnamespacePrefix - the prefix for the given namespacepublic org.joda.time.DateTime getValue()
getValue in interface XSDateTimepublic void setValue(org.joda.time.DateTime newValue)
setValue in interface XSDateTimenewValue - the dateTime valuepublic List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObjectpublic org.joda.time.format.DateTimeFormatter getDateTimeFormatter()
DateTimeFormatter to be used when stringifying
the DateTime value.
Defaults to the formatter constructed by calling:
org.joda.time.format.ISODateTimeFormat.dateTime().withChronology(org.joda.time.chrono.ISOChronology.getInstanceUTC()
getDateTimeFormatter in interface XSDateTimepublic void setDateTimeFormatter(org.joda.time.format.DateTimeFormatter newFormatter)
DateTimeFormatter to be used when stringifying
the DateTime value.
Defaults to the formatter constructed by calling:
org.joda.time.format.ISODateTimeFormat.dateTime().withChronology(org.joda.time.chrono.ISOChronology.getInstanceUTC()
setDateTimeFormatter in interface XSDateTimenewFormatter - the new formatterCopyright © 2018 JBoss by Red Hat. All rights reserved.