org.opensaml.ws.wssecurity
Interface AttributedDateTime

All Superinterfaces:
org.opensaml.xml.AttributeExtensibleXMLObject, IdBearing, org.opensaml.xml.validation.ValidatingXMLObject, WSSecurityObject, org.opensaml.xml.XMLObject, org.opensaml.xml.schema.XSString
All Known Subinterfaces:
Created, Expires
All Known Implementing Classes:
AttributedDataTimeImpl, AttributedDateTimeImpl, CreatedImpl, ExpiresImpl

public interface AttributedDateTime
extends org.opensaml.xml.schema.XSString, IdBearing, org.opensaml.xml.AttributeExtensibleXMLObject, WSSecurityObject

Interface for elements of complex type AttributedDateTime.


Field Summary
static String DEFAULT_DATETIME_FORMAT
          Deprecated. replaced by use of a DateTimeFormatter configured via setDateTimeFormatter(DateTimeFormatter).
static String TYPE_LOCAL_NAME
          Local name of the XSI type.
static QName TYPE_NAME
          QName of the XSI type.
 
Fields inherited from interface org.opensaml.ws.wssecurity.IdBearing
WSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME
 
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.
 void setDateTime(org.joda.time.DateTime dateTime)
          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.
 
Methods inherited from interface org.opensaml.xml.schema.XSString
getValue, setValue
 
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
 
Methods inherited from interface org.opensaml.ws.wssecurity.IdBearing
getWSUId, setWSUId
 
Methods inherited from interface org.opensaml.xml.AttributeExtensibleXMLObject
getUnknownAttributes
 

Field Detail

TYPE_LOCAL_NAME

static final String TYPE_LOCAL_NAME
Local name of the XSI type.

See Also:
Constant Field Values

TYPE_NAME

static final QName TYPE_NAME
QName of the XSI type.


DEFAULT_DATETIME_FORMAT

static final String DEFAULT_DATETIME_FORMAT
Deprecated. replaced by use of a DateTimeFormatter configured via setDateTimeFormatter(DateTimeFormatter).
Default DateTime format.

See Also:
Constant Field Values
Method Detail

getDateTime

org.joda.time.DateTime getDateTime()
Returns the DateTime content or attribute value.

Returns:
the DateTime object.

setDateTime

void setDateTime(org.joda.time.DateTime dateTime)
Sets the DateTime content or attribute value.

Parameters:
dateTime - the DateTime object to set.

getDateTimeFormatter

org.joda.time.format.DateTimeFormatter getDateTimeFormatter()
Get the 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()

Returns:
the currently configured formatter

setDateTimeFormatter

void setDateTimeFormatter(org.joda.time.format.DateTimeFormatter newFormatter)
Set the 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()

Parameters:
newFormatter - the new formatter


Copyright © 2006-2013 Internet2. All Rights Reserved.