org.wso2.solutions.identity.cards.model
Class CardImage

java.lang.Object
  extended by org.wso2.solutions.identity.cards.model.CardImage
All Implemented Interfaces:
CardElement

public class CardImage
extends java.lang.Object
implements CardElement


Field Summary
static javax.xml.namespace.QName NAME
           
 
Constructor Summary
CardImage(java.lang.String mimeType, java.lang.String image)
           
 
Method Summary
 org.apache.axiom.om.OMElement serialize()
          Serialize this element into an OMElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

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

CardImage

public CardImage(java.lang.String mimeType,
                 java.lang.String image)
Method Detail

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