Class AttributedDateTimeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.soap.wssecurity.impl.AbstractWSSecurityObject
org.opensaml.soap.wssecurity.impl.AttributedDateTimeImpl
- All Implemented Interfaces:
AttributeExtensibleXMLObject
,XSString
,XMLObject
,AttributedDateTime
,IdBearing
,WSSecurityObject
- Direct Known Subclasses:
CreatedImpl
,ExpiresImpl
Implementation of
AttributedDateTime
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Instant
DateTime object.private String
wsu:id attribute value.private String
String dateTime representation.private AttributeMap
Wildcard attributes.Fields inherited from interface org.opensaml.soap.wssecurity.AttributedDateTime
TYPE_LOCAL_NAME, TYPE_NAME
Fields inherited from interface org.opensaml.soap.wssecurity.IdBearing
WSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionAttributedDateTimeImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the Instant content or attribute value.Gets a mutable map of the attributes.getValue()
Gets the string.getWSUId()
Returns the@wsu:Id
attribute value.void
setDateTime
(Instant newDateTime) Sets the Instant content or attribute value.void
Sets the string.void
Sets the@wsu:Id
attribute value.Methods inherited from class org.opensaml.soap.wssecurity.impl.AbstractWSSecurityObject
getOrderedChildren
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
dateTimeValue
DateTime object. -
stringValue
String dateTime representation. -
id
wsu:id attribute value. -
unknownAttributes
Wildcard attributes.
-
-
Constructor Details
-
AttributedDateTimeImpl
Constructor.- Parameters:
namespaceURI
- namespace of the elementelementLocalName
- name of the elementnamespacePrefix
- namespace prefix of the element
-
-
Method Details
-
getDateTime
Returns the Instant content or attribute value.- Specified by:
getDateTime
in interfaceAttributedDateTime
- Returns:
- the
Instant
object.
-
setDateTime
Sets the Instant content or attribute value.- Specified by:
setDateTime
in interfaceAttributedDateTime
- Parameters:
newDateTime
- theInstant
object to set.
-
getValue
Gets the string. -
setValue
Sets the string. -
getWSUId
Returns the@wsu:Id
attribute value. -
setWSUId
Sets the@wsu:Id
attribute value. -
getUnknownAttributes
Gets a mutable map of the attributes. The map key is the namespace qualified name of the attribute, the map value is the value of the attribute.- Specified by:
getUnknownAttributes
in interfaceAttributeExtensibleXMLObject
- Returns:
- a map of the attributes
-