|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.AbstractXMLObject
org.opensaml.xml.validation.AbstractValidatingXMLObject
org.opensaml.ws.wssecurity.impl.AbstractWSSecurityObject
org.opensaml.ws.wssecurity.impl.AttributedDateTimeImpl
public class AttributedDateTimeImpl
Implementation of AttributedDateTime.
| Field Summary | |
|---|---|
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. |
| Fields inherited from interface org.opensaml.ws.wssecurity.AttributedDateTime |
|---|
DEFAULT_DATETIME_FORMAT, TYPE_LOCAL_NAME, TYPE_NAME |
| Fields inherited from interface org.opensaml.ws.wssecurity.IdBearing |
|---|
WSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME |
| Constructor Summary | |
|---|---|
AttributedDateTimeImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.opensaml.ws.wssecurity.impl.AbstractWSSecurityObject |
|---|
getOrderedChildren |
| Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
|---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
|---|
deregisterValidator, getValidators, registerValidator, validate |
| Methods inherited from interface org.opensaml.xml.XMLObject |
|---|
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 |
| Field Detail |
|---|
private org.joda.time.format.DateTimeFormatter formatter
private org.joda.time.DateTime dateTimeValue
private String stringValue
private String id
private AttributeMap unknownAttributes
| Constructor Detail |
|---|
public AttributedDateTimeImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
namespaceURI - namespace of the elementelementLocalName - name of the elementnamespacePrefix - namespace prefix of the element| Method Detail |
|---|
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 getValue()
getValue in interface XSStringpublic void setValue(String newValue)
setValue in interface XSStringpublic String getWSUId()
@wsu:Id attribute value.
getWSUId in interface IdBearing@wsu:Id attribute value or null.public void setWSUId(String newId)
@wsu:Id attribute value.
setWSUId in interface IdBearingnewId - The @wsu:Id attribute valuepublic 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 formatter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||