Class MetadataSection

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

    • MetadataSection

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

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

    • 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 String getDialect()
    • getIdentifier

      public String getIdentifier()
    • getanyAttribute

      public 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(String in_identifier)
    • setDialect

      public void setDialect(String in_dialect)
    • setLocation

      public void setLocation(Location in_location)
    • setinlineData

      public void setinlineData(Object in_inlineData)
    • setMetadataReference

      public void setMetadataReference(MetadataReference in_ref)