public class AttributedDateTimeImpl extends AbstractWSSecurityObject implements AttributedDateTime
AttributedDateTime.| Modifier and Type | Field and Description |
|---|---|
private org.joda.time.DateTime |
dateTimeValue
DateTime object.
|
private org.joda.time.format.DateTimeFormatter |
formatter
DateTime formatter.
|
private String |
id
wsu:id attribute value.
|
private String |
stringValue
String dateTime representation.
|
private AttributeMap |
unknownAttributes
Wildcard attributes.
|
DEFAULT_DATETIME_FORMAT, TYPE_LOCAL_NAME, TYPE_NAMEWSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME| Constructor and Description |
|---|
AttributedDateTimeImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
getDateTime()
Returns the DateTime content or attribute value.
|
org.joda.time.format.DateTimeFormatter |
getDateTimeFormatter()
Get the
DateTimeFormatter to be used when stringifying
the DateTime value. |
AttributeMap |
getUnknownAttributes() |
String |
getValue() |
String |
getWSUId()
Returns the
@wsu:Id attribute value. |
void |
setDateTime(org.joda.time.DateTime newDateTime)
Sets the DateTime content or attribute value.
|
void |
setDateTimeFormatter(org.joda.time.format.DateTimeFormatter newFormatter)
Set the
DateTimeFormatter to be used when stringifying
the DateTime value. |
void |
setValue(String newValue) |
void |
setWSUId(String newId)
Sets the
@wsu:Id attribute value. |
getOrderedChildrenderegisterValidator, 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, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprivate org.joda.time.format.DateTimeFormatter formatter
private org.joda.time.DateTime dateTimeValue
private String stringValue
private String id
private AttributeMap unknownAttributes
public org.joda.time.DateTime getDateTime()
getDateTime in interface AttributedDateTimeDateTime object.public void setDateTime(org.joda.time.DateTime newDateTime)
setDateTime in interface AttributedDateTimenewDateTime - the DateTime object to set.public String getWSUId()
@wsu:Id attribute value.public void setWSUId(String newId)
@wsu:Id attribute value.public AttributeMap getUnknownAttributes()
getUnknownAttributes in interface AttributeExtensibleXMLObjectpublic 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 AttributedDateTimepublic 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 AttributedDateTimenewFormatter - the new formatterCopyright © 1999-2015. All Rights Reserved.