|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.mex.om.MexOM org.apache.axis2.mex.om.MetadataSection
public class MetadataSection
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 Summary | |
---|---|
MetadataSection()
Constructor |
|
MetadataSection(org.apache.axiom.om.OMFactory defaultFactory,
java.lang.String namespaceValue)
Constructor |
Method Summary | |
---|---|
MetadataSection |
fromOM(org.apache.axiom.om.OMElement element)
Populates an MetadataSection object based on the OMElement passed. |
java.lang.String |
getanyAttribute()
|
java.lang.String |
getDialect()
|
java.lang.String |
getIdentifier()
|
org.apache.axiom.om.OMNode |
getInlineData()
Return metadata unit in inline form such as WSDL definitions, XML schema document, etc. |
Location |
getLocation()
Return metadata unit in URL form i.e. |
MetadataReference |
getMetadataReference()
Return metadata unit in endpoint reference form i.e. |
void |
setDialect(java.lang.String in_dialect)
|
void |
setIdentifier(java.lang.String in_identifier)
|
void |
setinlineData(java.lang.Object in_inlineData)
|
void |
setLocation(Location in_location)
|
void |
setMetadataReference(MetadataReference in_ref)
|
org.apache.axiom.om.OMElement |
toOM()
Convert MetadatSection content to the OMElement representation. |
Methods inherited from class org.apache.axis2.mex.om.MexOM |
---|
getNamespaceValue, isNamespaceSupported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.axis2.mex.om.IMexOM |
---|
getNamespaceValue, isNamespaceSupported |
Constructor Detail |
---|
public MetadataSection() throws MexException
MexException
public MetadataSection(org.apache.axiom.om.OMFactory defaultFactory, java.lang.String namespaceValue) throws MexOMException
defaultFactory
- namespaceValue
-
MexOMException
Method Detail |
---|
public MetadataSection fromOM(org.apache.axiom.om.OMElement element) throws MexOMException
OMElement
passed.
inElement
- mex:MetadataSection element
MexOMException
public org.apache.axiom.om.OMElement toOM() throws MexOMException
toOM
in interface IMexOM
toOM
in class MexOM
MexOMException
public java.lang.String getDialect()
public java.lang.String getIdentifier()
public java.lang.String getanyAttribute()
public Location getLocation()
public org.apache.axiom.om.OMNode getInlineData()
public MetadataReference getMetadataReference()
public void setIdentifier(java.lang.String in_identifier)
public void setDialect(java.lang.String in_dialect)
public void setLocation(Location in_location)
public void setinlineData(java.lang.Object in_inlineData)
public void setMetadataReference(MetadataReference in_ref)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |