org.apache.axis2.mex.om
Class MetadataSection

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

public class MetadataSection
extends MexOM
implements IMexOM

Class implemented for MetadataSection element defined in the WS-MEX spec. A unit of metdata i.e. a MetadataSection may be included in-line data, or may be by reference as an endpoint reference (MetadataReference) or a URL (Location). An instance of MetadataSection can have one form of data: inline, location, or reference.


Constructor Summary
MetadataSection()
          Constructor
MetadataSection(org.apache.axiom.om.OMFactory defaultFactory, java.lang.String namespaceValue)
          Constructor
 
Method Summary
 MetadataSection fromOM(org.apache.axiom.om.OMElement element)
          Populates an MetadataSection object based on the OMElement passed.
 java.lang.String getanyAttribute()
           
 java.lang.String getDialect()
           
 java.lang.String getIdentifier()
           
 org.apache.axiom.om.OMNode getInlineData()
          Return metadata unit in inline form such as WSDL definitions, XML schema document, etc.
 Location getLocation()
          Return metadata unit in URL form i.e.
 MetadataReference getMetadataReference()
          Return metadata unit in endpoint reference form i.e.
 void setDialect(java.lang.String in_dialect)
           
 void setIdentifier(java.lang.String in_identifier)
           
 void setinlineData(java.lang.Object in_inlineData)
           
 void setLocation(Location in_location)
           
 void setMetadataReference(MetadataReference in_ref)
           
 org.apache.axiom.om.OMElement toOM()
          Convert MetadatSection 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

MetadataSection

public MetadataSection()
                throws MexException
Constructor

Throws:
MexException

MetadataSection

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

Parameters:
defaultFactory -
namespaceValue -
Throws:
MexOMException
Method Detail

fromOM

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

Parameters:
inElement - mex:MetadataSection element
Returns:
MetadataSection
Throws:
MexOMException

toOM

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

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

getDialect

public java.lang.String getDialect()

getIdentifier

public java.lang.String getIdentifier()

getanyAttribute

public java.lang.String getanyAttribute()

getLocation

public Location getLocation()
Return metadata unit in URL form i.e. mex:Location

Returns:

getInlineData

public org.apache.axiom.om.OMNode getInlineData()
Return metadata unit in inline form such as WSDL definitions, XML schema document, etc.

Returns:

getMetadataReference

public MetadataReference getMetadataReference()
Return metadata unit in endpoint reference form i.e. mex:MetadataReference.

Returns:

setIdentifier

public void setIdentifier(java.lang.String in_identifier)

setDialect

public void setDialect(java.lang.String in_dialect)

setLocation

public void setLocation(Location in_location)

setinlineData

public void setinlineData(java.lang.Object in_inlineData)

setMetadataReference

public void setMetadataReference(MetadataReference in_ref)


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