org.apache.ws.security.message.token
Class Reference

java.lang.Object
  extended byorg.apache.ws.security.message.token.Reference

public class Reference
extends java.lang.Object

Reference.

Author:
Davanum Srinivas (dims@yahoo.com).

Field Summary
protected  org.w3c.dom.Element element
           
static java.lang.String TOKEN_LNAME
           
protected  WSSConfig wssConfig
           
 
Constructor Summary
Reference(WSSConfig wssConfig, org.w3c.dom.Document doc)
          Constructor.
Reference(WSSConfig wssConfig, org.w3c.dom.Element elem)
          Constructor.
 
Method Summary
 org.w3c.dom.Element getElement()
          get the dom element.
 java.lang.String getURI()
          get the URI.
 java.lang.String getValueType()
          get the URI.
 void setURI(java.lang.String uri)
          set the URI.
 void setValueType(java.lang.String valueType)
          set the Value type.
 java.lang.String toString()
          return the string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TOKEN_LNAME

public static final java.lang.String TOKEN_LNAME
See Also:
Constant Field Values

element

protected org.w3c.dom.Element element

wssConfig

protected WSSConfig wssConfig
Constructor Detail

Reference

public Reference(WSSConfig wssConfig,
                 org.w3c.dom.Element elem)
          throws WSSecurityException
Constructor.

Parameters:
wssConfig -
elem -
Throws:
WSSecurityException

Reference

public Reference(WSSConfig wssConfig,
                 org.w3c.dom.Document doc)
Constructor.

Parameters:
wssConfig -
doc -
Method Detail

getElement

public org.w3c.dom.Element getElement()
get the dom element.

Returns:

getValueType

public java.lang.String getValueType()
get the URI.

Returns:

getURI

public java.lang.String getURI()
get the URI.

Returns:

setValueType

public void setValueType(java.lang.String valueType)
set the Value type.

Parameters:
valueType -

setURI

public void setURI(java.lang.String uri)
set the URI.

Parameters:
uri -

toString

public java.lang.String toString()
return the string representation.

Returns: