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 MetadataReference
fromOM(OMElement element)
Populates an MetadataReference object based on the endpoint reference typeOMElement
passed.EndpointReference
getEPR()
OMElement
getEPRElement()
void
setEPR(OMElement element)
Set EPRvoid
setEPR(EndpointReference endRef)
Set EPROMElement
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(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 typeOMElement
passed.- Parameters:
inElement
- MetadataReference element- Returns:
- MetadataReference
- Throws:
MexOMException
-
toOM
public OMElement toOM() throws MexOMException
Convert MetadatReference object content to the OMElement representation.- Specified by:
toOM
in interfaceIMexOM
- Overrides:
toOM
in 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
-
-