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
public class AttributedDateTimeImpl extends AbstractWSSecurityObject implements AttributedDateTime
Implementation of
AttributedDateTime
.-
Field Summary
Fields Modifier and Type Field Description private Instant
dateTimeValue
DateTime object.private String
id
wsu:id attribute value.private String
stringValue
String dateTime representation.private AttributeMap
unknownAttributes
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
Constructors Constructor Description AttributedDateTimeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor. -
Method Summary
Modifier and Type Method Description Instant
getDateTime()
Returns the Instant content or attribute 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(Instant newDateTime)
Sets the Instant content or attribute value.void
setValue(String newValue)
Sets the string.void
setWSUId(String newId)
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
-
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
-