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
public class Metadata
- extends MexOM
- implements IMexOM
Class implementing mex:Metadata element
Constructor Summary |
Metadata()
Constructor |
Metadata(org.apache.axiom.om.OMFactory defaultFactory,
java.lang.String namespaceValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Metadata
public Metadata()
throws MexException
- Constructor
- Throws:
MexException
Metadata
public Metadata(org.apache.axiom.om.OMFactory defaultFactory,
java.lang.String namespaceValue)
throws MexOMException
- Parameters:
defaultFactory
- namespaceValue
-
- Throws:
MexOMException
getMetadatSections
public MetadataSection[] getMetadatSections()
- Returns:
- Array of MetadataSection of metadata units
getMetadataSection
public MetadataSection[] getMetadataSection(java.lang.String dialect,
java.lang.String identifier)
- Parameters:
dialect
- identifier
-
- Returns:
- Array of MetadataSection for the specified dialect metadata type and identifier
getMetadataSection
public MetadataSection[] getMetadataSection(java.lang.String dialect,
java.lang.String identifier,
OutputForm form)
- 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
See OutputForm
for valid output forms.
- Returns:
- Array of MetadataSection for the specified dialect metadata type and identifier of
the form specified.
fromOM
public Metadata fromOM(org.apache.axiom.om.OMElement inElement)
throws MexOMException
- Populates an Metadata object based on the
OMElement
passed.
- Parameters:
inElement
- mex:Metadata element or element contains mex:Metadata element
- Returns:
- Metadata
- Throws:
MexOMException
toOM
public org.apache.axiom.om.OMElement toOM()
throws MexOMException
- Specified by:
toOM
in interface IMexOM
- Overrides:
toOM
in class MexOM
- Returns:
- Array of MetadataSection of metadata units
- Throws:
MexOMException
setMetadatSections
public void setMetadatSections(java.util.List in_metadataSections)
addMetadatSections
public void addMetadatSections(java.util.List in_metadataSections)
addMetadatSection
public void addMetadatSection(MetadataSection section)
setAttribute
public void setAttribute(org.apache.axiom.om.OMAttribute in_attribute)
Copyright © 2007 Apache Web Services Project. All Rights Reserved.