com.sun.xml.ws.security
Interface SecurityTokenReference

All Superinterfaces:
Token
All Known Implementing Classes:
SecurityTokenReference

public interface SecurityTokenReference
extends Token

TODO: refine/define the methods in this interface

Author:
root

Method Summary
 List getAny()
          Gets the value of the any property.
 String getId()
          Gets the value of the id property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from interface com.sun.xml.ws.security.Token
getTokenValue, getType
 

Method Detail

getAny

List getAny()
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Element Object


getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.