org.apache.ws.sandbox.security.trust.message.token
Class Code

java.lang.Object
  extended byorg.apache.ws.sandbox.security.trust.message.token.AbstractToken
      extended byorg.apache.ws.sandbox.security.trust.message.token.ValueElement
          extended byorg.apache.ws.sandbox.security.trust.message.token.Code

public class Code
extends ValueElement

Author:
Malinda, Ruchith Fernando Code token
See Also:
Status

Field Summary
static javax.xml.namespace.QName TOKEN
           
 
Fields inherited from class org.apache.ws.sandbox.security.trust.message.token.ValueElement
valueText
 
Fields inherited from class org.apache.ws.sandbox.security.trust.message.token.AbstractToken
document, element
 
Constructor Summary
Code(org.w3c.dom.Document doc)
          Constructor for Code
Code(org.w3c.dom.Document doc, java.lang.String value)
          Constructor for Code
Code(org.w3c.dom.Element elem)
          Constructor for Code
 
Method Summary
protected  javax.xml.namespace.QName getToken()
          Returns the QName of this type
 
Methods inherited from class org.apache.ws.sandbox.security.trust.message.token.ValueElement
deserializeChildElement, getValue, setElementTextValue, setValue
 
Methods inherited from class org.apache.ws.sandbox.security.trust.message.token.AbstractToken
addChild, getElement, parse, removeChild, setElement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TOKEN

public static final javax.xml.namespace.QName TOKEN
Constructor Detail

Code

public Code(org.w3c.dom.Element elem)
     throws WSTrustException
Constructor for Code

Parameters:
elem -
Throws:
WSSecurityException
WSTrustException

Code

public Code(org.w3c.dom.Document doc)
Constructor for Code

Parameters:
doc -

Code

public Code(org.w3c.dom.Document doc,
            java.lang.String value)
Constructor for Code

Parameters:
doc -
value - Text to be inserted to Code
Method Detail

getToken

protected javax.xml.namespace.QName getToken()
Returns the QName of this type

Specified by:
getToken in class AbstractToken
Returns:
See Also:
AbstractToken.getToken()


Copyright © 2004-2008 Apache Web Services. All Rights Reserved.