Package org.apache.axis2.mex.om
Class Metadata
java.lang.Object
org.apache.axis2.mex.om.MexOM
org.apache.axis2.mex.om.Metadata
- All Implemented Interfaces:
IMexOM
Class implementing mex:Metadata element
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetadatSection(MetadataSection section) voidaddMetadatSections(List in_metadataSections) fromOM(org.apache.axiom.om.OMElement inElement) Populates an Metadata object based on theOMElementpassed.getMetadataSection(String dialect, String identifier) getMetadataSection(String dialect, String identifier, OutputForm form) Answers the Metadata Sections that met the criteria specified in the dialect, identifier, and form.voidsetAttribute(org.apache.axiom.om.OMAttribute in_attribute) voidsetMetadatSections(List in_metadataSections) org.apache.axiom.om.OMElementtoOM()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
-
Metadata
Constructor- Throws:
MexException
-
Metadata
public Metadata(org.apache.axiom.om.OMFactory defaultFactory, String namespaceValue) throws MexOMException - Parameters:
defaultFactory-namespaceValue-- Throws:
MexOMException
-
-
Method Details
-
getMetadatSections
- Returns:
- Array of MetadataSection of metadata units
-
getMetadataSection
- Parameters:
dialect-identifier-- Returns:
- Array of MetadataSection for the specified dialect metadata type and identifier
-
getMetadataSection
Answers the Metadata Sections that met the criteria specified in the dialect, identifier, and form. Note: Null value parameter will be treated as wild card.- Parameters:
dialect-identifier-form- specify the form of metadata: inline or by reference SeeOutputFormfor valid output forms.- Returns:
- Array of MetadataSection for the specified dialect metadata type and identifier of the form specified.
-
fromOM
Populates an Metadata object based on theOMElementpassed.- Parameters:
inElement- mex:Metadata element or element contains mex:Metadata element- Returns:
- Metadata
- Throws:
MexOMException
-
toOM
- Specified by:
toOMin interfaceIMexOM- Overrides:
toOMin classMexOM- Returns:
- Array of MetadataSection of metadata units
- Throws:
MexOMException
-
setMetadatSections
-
addMetadatSections
-
addMetadatSection
-
setAttribute
public void setAttribute(org.apache.axiom.om.OMAttribute in_attribute)
-