|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.biomoby.shared.parser.JDOMUtils
public class JDOMUtils
Field Summary | |
---|---|
static org.jdom.Namespace |
MOBY_NS
A Biomoby namespace. |
Constructor Summary | |
---|---|
JDOMUtils()
|
Method Summary | |
---|---|
static ServiceException[] |
extractExceptions(org.jdom.Element serviceNotes)
Extract all exceptions from a serviceNotes XML element. |
static org.jdom.Element |
getChild(org.jdom.Element parent,
String name)
Get a child by 'name' from 'parent'. |
static String |
getChildText(org.jdom.Element parent,
String name)
Get text of a child 'name' from 'parent'. |
static org.jdom.Element |
toXMLElement(MobyProvisionInfo mpi)
Turns a PIB Object into a JDOM representation. |
static org.jdom.Element |
toXMLElement(ServiceException se)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.jdom.Namespace MOBY_NS
Constructor Detail |
---|
public JDOMUtils()
Method Detail |
---|
public static org.jdom.Element toXMLElement(ServiceException se)
public static ServiceException[] extractExceptions(org.jdom.Element serviceNotes)
MobyPackage
.
serviceNotes
- a piece of XML
<serviceNotes>...</serviceNotes>
public static org.jdom.Element toXMLElement(MobyProvisionInfo mpi)
public static org.jdom.Element getChild(org.jdom.Element parent, String name)
MOBY_NS
.
parent
- whose child is returnedname
- child name
public static String getChildText(org.jdom.Element parent, String name)
MOBY_NS
.
parent
- whose child's text is returnedname
- child name
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |