|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.muse.ws.resource.metadata.impl.WsrmdUtils
WsrmdUtils is a set of convenience methods related to WS-RMD 1.0.
Constructor Summary | |
---|---|
WsrmdUtils()
|
Method Summary | |
---|---|
static org.w3c.dom.Element |
createMetadataDocument(MetadataDescriptor rmd)
This method serializes the given descriptor into XML and then wraps it in a wsrmd:Definitions element so it can be written or published as a valid WSRMD document. |
static org.w3c.dom.Element |
getMetadataDescriptor(org.w3c.dom.Document rmd,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WsrmdUtils()
Method Detail |
public static org.w3c.dom.Element createMetadataDocument(MetadataDescriptor rmd)
rmd
-
public static org.w3c.dom.Element getMetadataDescriptor(org.w3c.dom.Document rmd, java.lang.String name)
rmd
- An XML document containing a root element named wsrmd:Definitions.name
- The value of the name attribute for the desired
metadata descriptor.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |