Package org.apache.axis2.mex.om
Class MetadataReference
java.lang.Object
org.apache.axis2.mex.om.MexOM
org.apache.axis2.mex.om.MetadataReference
- All Implemented Interfaces:
IMexOM
Class implemented for MetadataReference element defined in
the WS-MetadataExchange spec.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorMetadataReference(org.apache.axiom.om.OMFactory defaultFactory, String namespaceValue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionfromOM(org.apache.axiom.om.OMElement element) Populates an MetadataReference object based on the endpoint reference typeOMElementpassed.getEPR()org.apache.axiom.om.OMElementvoidsetEPR(org.apache.axiom.om.OMElement element) Set EPRvoidsetEPR(EndpointReference endRef) Set EPRorg.apache.axiom.om.OMElementtoOM()Convert MetadatReference object content to the OMElement representation.Methods inherited from class org.apache.axis2.mex.om.MexOM
getNamespaceValue, isNamespaceSupportedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.axis2.mex.om.IMexOM
getNamespaceValue, isNamespaceSupported
-
Constructor Details
-
MetadataReference
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
-
fromOM
Populates an MetadataReference object based on the endpoint reference typeOMElementpassed.- Parameters:
inElement- MetadataReference element- Returns:
- MetadataReference
- Throws:
MexOMException
-
toOM
Convert MetadatReference object content to the OMElement representation.- Specified by:
toOMin interfaceIMexOM- Overrides:
toOMin classMexOM- Returns:
- OMElement representation of MetadatReference.
- Throws:
MexOMException
-
setEPR
Set EPR- Parameters:
element- Endpoint Reference Type element- Throws:
MexOMException
-
setEPR
Set EPR- Parameters:
element- Endpoint Reference Type elem- Throws:
MexOMException
-