| Constructor and Description |
|---|
Metadata()
Constructor
|
Metadata(org.apache.axiom.om.OMFactory defaultFactory,
java.lang.String namespaceValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetadatSection(MetadataSection section) |
void |
addMetadatSections(java.util.List in_metadataSections) |
Metadata |
fromOM(org.apache.axiom.om.OMElement inElement)
Populates an Metadata object based on the
OMElement passed. |
MetadataSection[] |
getMetadataSection(java.lang.String dialect,
java.lang.String identifier) |
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.
|
MetadataSection[] |
getMetadatSections() |
void |
setAttribute(org.apache.axiom.om.OMAttribute in_attribute) |
void |
setMetadatSections(java.util.List in_metadataSections) |
org.apache.axiom.om.OMElement |
toOM() |
getNamespaceValue, isNamespaceSupportedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamespaceValue, isNamespaceSupportedpublic Metadata()
throws MexException
MexExceptionpublic Metadata(org.apache.axiom.om.OMFactory defaultFactory,
java.lang.String namespaceValue)
throws MexOMException
defaultFactory - namespaceValue - MexOMExceptionpublic MetadataSection[] getMetadatSections()
public MetadataSection[] getMetadataSection(java.lang.String dialect, java.lang.String identifier)
dialect - identifier - public MetadataSection[] getMetadataSection(java.lang.String dialect, java.lang.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 elementMexOMExceptionpublic org.apache.axiom.om.OMElement toOM()
throws MexOMException
toOM in interface IMexOMtoOM in class MexOMMexOMExceptionpublic void setMetadatSections(java.util.List in_metadataSections)
public void addMetadatSections(java.util.List in_metadataSections)
public void addMetadatSection(MetadataSection section)
public void setAttribute(org.apache.axiom.om.OMAttribute in_attribute)
Copyright © 2004-2022 The Apache Software Foundation. All Rights Reserved.