public class AttributedDateTimeImpl extends AbstractWSSecurityObject implements AttributedDateTime
AttributedDateTime
.DEFAULT_DATETIME_FORMAT, TYPE_LOCAL_NAME, TYPE_NAME
WSU_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()
Gets a mutable map of the attributes.
|
String |
getValue()
Gets the string.
|
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)
Sets the string.
|
void |
setWSUId(String newId)
Sets the
@wsu:Id attribute value. |
getOrderedChildren
deregisterValidator, getValidators, registerValidator, validate, validateChildren
addNamespace, 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, setSchemaType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deregisterValidator, getValidators, registerValidator, validate
addNamespace, 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, setSchemaLocation
public org.joda.time.DateTime getDateTime()
getDateTime
in interface AttributedDateTime
DateTime
object.public void setDateTime(org.joda.time.DateTime newDateTime)
setDateTime
in interface AttributedDateTime
newDateTime
- the DateTime
object to set.public String getValue()
public void setValue(String newValue)
public String getWSUId()
@wsu:Id
attribute value.public void setWSUId(String newId)
@wsu:Id
attribute value.public AttributeMap getUnknownAttributes()
getUnknownAttributes
in interface AttributeExtensibleXMLObject
public 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 AttributedDateTime
public 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 AttributedDateTime
newFormatter
- the new formatterCopyright © 2018 JBoss by Red Hat. All rights reserved.