Package com.sun.xml.ws.security.secext10
Class AttributedString
- java.lang.Object
-
- com.sun.xml.ws.security.secext10.AttributedString
-
- Direct Known Subclasses:
EncodedString,PasswordString
public class AttributedString extends Object
This type represents an element with arbitrary attributes.Java class for AttributedString complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AttributedString"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/> </extension> </simpleContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description AttributedString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets the value of the id property.Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.StringgetValue()voidsetId(String value)Sets the value of the id property.voidsetValue(String value)
-
-
-
Method Detail
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getOtherAttributes
public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-
setValue
public void setValue(String value)
-
getValue
public String getValue()
-
-