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 ofAttributedDateTime.
-
-
Field Summary
Fields Modifier and Type Field Description private InstantdateTimeValueDateTime object.private Stringidwsu:id attribute value.private StringstringValueString dateTime representation.private AttributeMapunknownAttributesWildcard 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantgetDateTime()Returns the Instant content or attribute value.AttributeMapgetUnknownAttributes()Gets a mutable map of the attributes.StringgetValue()Gets the string.StringgetWSUId()Returns the@wsu:Idattribute value.voidsetDateTime(Instant newDateTime)Sets the Instant content or attribute value.voidsetValue(String newValue)Sets the string.voidsetWSUId(String newId)Sets the@wsu:Idattribute 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 Detail
-
dateTimeValue
private Instant dateTimeValue
DateTime object.
-
stringValue
private String stringValue
String dateTime representation.
-
id
private String id
wsu:id attribute value.
-
unknownAttributes
private AttributeMap unknownAttributes
Wildcard attributes.
-
-
Method Detail
-
getDateTime
public Instant getDateTime()
Returns the Instant content or attribute value.- Specified by:
getDateTimein interfaceAttributedDateTime- Returns:
- the
Instantobject.
-
setDateTime
public void setDateTime(Instant newDateTime)
Sets the Instant content or attribute value.- Specified by:
setDateTimein interfaceAttributedDateTime- Parameters:
newDateTime- theInstantobject to set.
-
getValue
public String getValue()
Gets the string.
-
setValue
public void setValue(String newValue)
Sets the string.
-
getWSUId
public String getWSUId()
Returns the@wsu:Idattribute value.
-
setWSUId
public void setWSUId(String newId)
Sets the@wsu:Idattribute value.
-
getUnknownAttributes
public AttributeMap 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
-
-