|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.internet2.middleware.grouper.xml.XmlReader
public class XmlReader
Read XML representation of the Groups Registry.
Constructor Summary | |
---|---|
XmlReader()
|
Method Summary | |
---|---|
static Document |
getDocumentFromFile(String filename)
Read Document from file. |
static Document |
getDocumentFromString(String s)
Read Document from String. |
static Document |
getDocumentFromURL(URL url)
Read Document from URL. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlReader()
Method Detail |
---|
public static Document getDocumentFromFile(String filename) throws GrouperException
try { Document doc = XmlReader.getDocumentFromFile(filename); } catch (GrouperException eG) { // unable to retrieve document }
filename
- Read Document from this file.
GrouperException
public static Document getDocumentFromString(String s) throws GrouperException
try { Document doc = XmlReader.getDocumentFromString(s); } catch (GrouperException eG) { // unable to retrieve document }
s
- Read document from this String.
GrouperException
public static Document getDocumentFromURL(URL url) throws GrouperException
try { } catch (GrouperException eG) { }
url
- Read Document from this URL.
GrouperException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |