Class AttributedStringImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.soap.wssecurity.impl.AbstractWSSecurityObject
org.opensaml.soap.wssecurity.impl.AttributedStringImpl
- All Implemented Interfaces:
AttributeExtensibleXMLObject
,XSString
,XMLObject
,AttributedString
,IdBearing
,WSSecurityObject
- Direct Known Subclasses:
EncodedStringImpl
,PasswordImpl
,UsernameImpl
public class AttributedStringImpl extends AbstractWSSecurityObject implements AttributedString
Implementation of
AttributedString
.-
Field Summary
Fields Modifier and Type Field Description private AttributeMap
attributes
The wildcard attributes.private String
id
The wsu:Id attribute value.private String
value
The string value.Fields inherited from interface org.opensaml.soap.wssecurity.AttributedString
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 AttributedStringImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor. -
Method Summary
Modifier and Type Method Description AttributeMap
getUnknownAttributes()
Gets a mutable map of the attributes.String
getValue()
Gets the string.String
getWSUId()
Returns the@wsu:Id
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
-
value
The string value. -
id
The wsu:Id attribute value. -
attributes
The wildcard attributes.
-
-
Constructor Details
-
AttributedStringImpl
Constructor.- Parameters:
namespaceURI
- namespace of the elementelementLocalName
- name of the elementnamespacePrefix
- namespace prefix of the element
-
-
Method Details
-
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
-