org.apache.axis2.mex.om
Class MetadataReference

java.lang.Object
  extended by org.apache.axis2.mex.om.MexOM
      extended by org.apache.axis2.mex.om.MetadataReference
All Implemented Interfaces:
IMexOM

public class MetadataReference
extends MexOM
implements IMexOM

Class implemented for MetadataReference element defined in the WS-MetadataExchange spec.


Constructor Summary
MetadataReference()
          Constructor
MetadataReference(org.apache.axiom.om.OMFactory defaultFactory, java.lang.String namespaceValue)
          Constructor
 
Method Summary
 MetadataReference fromOM(org.apache.axiom.om.OMElement element)
          Populates an MetadataReference object based on the endpoint reference type OMElement passed.
 EndpointReference getEPR()
           
 org.apache.axiom.om.OMElement getEPRElement()
           
 void setEPR(EndpointReference endRef)
          Set EPR
 void setEPR(org.apache.axiom.om.OMElement element)
          Set EPR
 org.apache.axiom.om.OMElement toOM()
          Convert MetadatReference object content to the OMElement representation.
 
Methods inherited from class org.apache.axis2.mex.om.MexOM
getNamespaceValue, isNamespaceSupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axis2.mex.om.IMexOM
getNamespaceValue, isNamespaceSupported
 

Constructor Detail

MetadataReference

public MetadataReference()
                  throws MexException
Constructor

Throws:
MexException

MetadataReference

public MetadataReference(org.apache.axiom.om.OMFactory defaultFactory,
                         java.lang.String namespaceValue)
                  throws MexOMException
Constructor

Parameters:
defaultFactory -
namespaceValue -
Throws:
MexOMException
Method Detail

getEPRElement

public org.apache.axiom.om.OMElement getEPRElement()

getEPR

public EndpointReference getEPR()

fromOM

public MetadataReference fromOM(org.apache.axiom.om.OMElement element)
                         throws MexOMException
Populates an MetadataReference object based on the endpoint reference type OMElement passed.

Parameters:
inElement - MetadataReference element
Returns:
MetadataReference
Throws:
MexOMException

toOM

public org.apache.axiom.om.OMElement toOM()
                                   throws MexOMException
Convert MetadatReference object content to the OMElement representation.

Specified by:
toOM in interface IMexOM
Overrides:
toOM in class MexOM
Returns:
OMElement representation of MetadatReference.
Throws:
MexOMException

setEPR

public void setEPR(org.apache.axiom.om.OMElement element)
            throws MexOMException
Set EPR

Parameters:
element - Endpoint Reference Type element
Throws:
MexOMException

setEPR

public void setEPR(EndpointReference endRef)
            throws MexOMException
Set EPR

Parameters:
element - Endpoint Reference Type elem
Throws:
MexOMException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.