Constructor and Description |
---|
Metadata()
Constructor
|
Metadata(org.apache.axiom.om.OMFactory defaultFactory,
String namespaceValue) |
Modifier and Type | Method and Description |
---|---|
void |
addMetadatSection(MetadataSection section) |
void |
addMetadatSections(List in_metadataSections) |
Metadata |
fromOM(org.apache.axiom.om.OMElement inElement)
Populates an Metadata object based on the
OMElement passed. |
MetadataSection[] |
getMetadataSection(String dialect,
String identifier) |
MetadataSection[] |
getMetadataSection(String dialect,
String identifier,
OutputForm form)
Answers the Metadata Sections that met the criteria specified in the dialect, identifier, and form.
|
MetadataSection[] |
getMetadatSections() |
void |
setAttribute(org.apache.axiom.om.OMAttribute in_attribute) |
void |
setMetadatSections(List in_metadataSections) |
org.apache.axiom.om.OMElement |
toOM() |
getNamespaceValue, isNamespaceSupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNamespaceValue, isNamespaceSupported
public Metadata() throws MexException
MexException
public Metadata(org.apache.axiom.om.OMFactory defaultFactory, String namespaceValue) throws MexOMException
defaultFactory
- namespaceValue
- MexOMException
public MetadataSection[] getMetadatSections()
public MetadataSection[] getMetadataSection(String dialect, String identifier)
dialect
- identifier
- public MetadataSection[] getMetadataSection(String dialect, String identifier, OutputForm form)
dialect
- identifier
- form
- specify the form of metadata: inline or by reference
See OutputForm
for valid output forms.public Metadata fromOM(org.apache.axiom.om.OMElement inElement) throws MexOMException
OMElement
passed.inElement
- mex:Metadata element or element contains mex:Metadata elementMexOMException
public org.apache.axiom.om.OMElement toOM() throws MexOMException
toOM
in interface IMexOM
toOM
in class MexOM
MexOMException
public void setMetadatSections(List in_metadataSections)
public void addMetadatSections(List in_metadataSections)
public void addMetadatSection(MetadataSection section)
public void setAttribute(org.apache.axiom.om.OMAttribute in_attribute)
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.