org.wso2.solutions.identity.cards.model
Class TokenService
java.lang.Object
org.wso2.solutions.identity.cards.model.TokenService
- All Implemented Interfaces:
- CardElement
public class TokenService
- extends java.lang.Object
- implements CardElement
Field Summary |
static javax.xml.namespace.QName |
NAME
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final javax.xml.namespace.QName NAME
TokenService
public TokenService(org.apache.axis2.addressing.EndpointReference epr,
UserCredential userCredential)
setEpr
public void setEpr(org.apache.axis2.addressing.EndpointReference epr)
getEpr
public org.apache.axis2.addressing.EndpointReference getEpr()
getUserCredential
public UserCredential getUserCredential()
serialize
public org.apache.axiom.om.OMElement serialize()
throws CardModelException
- Description copied from interface:
CardElement
- Serialize this element into an OMElement
- Specified by:
serialize
in interface CardElement
- Returns:
- An OMelement that encapsulates information in this element.
- Throws:
CardModelException
setUserCredential
public void setUserCredential(UserCredential userCredential)