Apache CXF API

org.apache.cxf.ws.security.sts.provider.model.secext
Class AttributedString

java.lang.Object
  extended by org.apache.cxf.ws.security.sts.provider.model.secext.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"/>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  String id
           
protected  String value
           
 
Constructor Summary
AttributedString()
           
 
Method Summary
 String getId()
          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.
 String getValue()
          Gets the value of the value property.
 void setId(String value)
          Sets the value of the id property.
 void setValue(String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected String value

id

protected String id
Constructor Detail

AttributedString

public AttributedString()
Method Detail

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

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

Apache CXF API

Apache CXF