org.opensaml.ws.wssecurity.impl
public class AttributedDateTimeImpl extends AbstractWSSecurityObject implements AttributedDateTime
AttributedDateTime
.Modifier and Type | Field and Description |
---|---|
private DateTime |
dateTimeValue
DateTime object.
|
private DateTimeFormatter |
formatter
DateTime formatter.
|
private String |
id
wsu:id attribute value.
|
private String |
stringValue
String dateTime representation.
|
private org.opensaml.xml.util.AttributeMap |
unknownAttributes
Wildcard attributes.
|
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 |
---|---|
DateTime |
getDateTime()
Returns the DateTime content or attribute value.
|
DateTimeFormatter |
getDateTimeFormatter()
Get the
DateTimeFormatter to be used when stringifying
the DateTime value. |
org.opensaml.xml.util.AttributeMap |
getUnknownAttributes() |
String |
getValue() |
String |
getWSUId()
Returns the
@wsu:Id attribute value. |
void |
setDateTime(DateTime newDateTime)
Sets the DateTime content or attribute value.
|
void |
setDateTimeFormatter(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. |
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
private DateTimeFormatter formatter
private DateTime dateTimeValue
private String stringValue
private String id
private org.opensaml.xml.util.AttributeMap unknownAttributes
public DateTime getDateTime()
getDateTime
in interface AttributedDateTime
DateTime
object.public void setDateTime(DateTime newDateTime)
setDateTime
in interface AttributedDateTime
newDateTime
- the DateTime
object to set.public String getValue()
getValue
in interface org.opensaml.xml.schema.XSString
public void setValue(String newValue)
setValue
in interface org.opensaml.xml.schema.XSString
public String getWSUId()
@wsu:Id
attribute value.public void setWSUId(String newId)
@wsu:Id
attribute value.public org.opensaml.xml.util.AttributeMap getUnknownAttributes()
getUnknownAttributes
in interface org.opensaml.xml.AttributeExtensibleXMLObject
public 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(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 © 1999-2013 JBoss by Red Hat. All Rights Reserved.