Class MetadataReference

java.lang.Object
org.apache.axis2.mex.om.MexOM
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 Details

    • MetadataReference

      public MetadataReference() throws MexException
      Constructor
      Throws:
      MexException
    • MetadataReference

      public MetadataReference(org.apache.axiom.om.OMFactory defaultFactory, String namespaceValue) throws MexOMException
      Constructor
      Parameters:
      defaultFactory -
      namespaceValue -
      Throws:
      MexOMException
  • Method Details

    • 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