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 InstantDateTime object.private Stringwsu:id attribute value.private StringString dateTime representation.private final AttributeMapWildcard attributes.Fields inherited from interface org.opensaml.soap.wssecurity.AttributedDateTime
TYPE_LOCAL_NAME, TYPE_NAMEFields 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:Idattribute value.voidsetDateTime(Instant newDateTime) Sets the Instant content or attribute value.voidSets the string.voidSets the@wsu:Idattribute value.Methods inherited from class org.opensaml.soap.wssecurity.impl.AbstractWSSecurityObject
getOrderedChildrenMethods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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
public AttributedDateTimeImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix) 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:
getDateTimein interfaceAttributedDateTime- Returns:
- the
Instantobject.
-
setDateTime
Sets the Instant content or attribute value.- Specified by:
setDateTimein interfaceAttributedDateTime- Parameters:
newDateTime- theInstantobject to set.
-
getValue
Gets the string. -
setValue
Sets the string. -
getWSUId
Returns the@wsu:Idattribute value. -
setWSUId
Sets the@wsu:Idattribute 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:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject- Returns:
- a map of the attributes
-