|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fao.oaipmh.util.Xml
public class Xml
This is a portion of the jeeves.utils.Xml class and is replicated here just to avoid the jeeves jar
Constructor Summary | |
---|---|
Xml()
|
Method Summary | |
---|---|
static org.jdom.Element |
loadStream(java.io.InputStream input)
Loads an xml stream and returns its root node (validates the xml with a dtd) |
static void |
validate(java.lang.String schemaPath,
org.jdom.Element xml)
Converts an xml element to a string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Xml()
Method Detail |
---|
public static org.jdom.Element loadStream(java.io.InputStream input) throws java.io.IOException, org.jdom.JDOMException
java.io.IOException
org.jdom.JDOMException
public static void validate(java.lang.String schemaPath, org.jdom.Element xml) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |