Package org.apache.axis2.mex.om
Class MetadataReference
- java.lang.Object
-
- org.apache.axis2.mex.om.MexOM
-
- org.apache.axis2.mex.om.MetadataReference
-
-
Constructor Summary
Constructors Constructor Description MetadataReference()ConstructorMetadataReference(OMFactory defaultFactory, String namespaceValue)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataReferencefromOM(OMElement element)Populates an MetadataReference object based on the endpoint reference typeOMElementpassed.EndpointReferencegetEPR()OMElementgetEPRElement()voidsetEPR(OMElement element)Set EPRvoidsetEPR(EndpointReference endRef)Set EPROMElementtoOM()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 MexExceptionConstructor- Throws:
MexException
-
MetadataReference
public MetadataReference(OMFactory defaultFactory, String namespaceValue) throws MexOMException
Constructor- Parameters:
defaultFactory-namespaceValue-- Throws:
MexOMException
-
-
Method Detail
-
getEPRElement
public OMElement getEPRElement()
-
getEPR
public EndpointReference getEPR()
-
fromOM
public MetadataReference fromOM(OMElement element) throws MexOMException
Populates an MetadataReference object based on the endpoint reference typeOMElementpassed.- Parameters:
inElement- MetadataReference element- Returns:
- MetadataReference
- Throws:
MexOMException
-
toOM
public OMElement toOM() throws MexOMException
Convert MetadatReference object content to the OMElement representation.- Specified by:
toOMin interfaceIMexOM- Overrides:
toOMin classMexOM- Returns:
- OMElement representation of MetadatReference.
- Throws:
MexOMException
-
setEPR
public void setEPR(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
-
-