|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.xml.XmlReader
public class XmlReader
Read XML representation of the Groups Registry.
Constructor Summary | |
---|---|
XmlReader()
|
Method Summary | |
---|---|
static org.w3c.dom.Document |
getDocumentFromFile(java.lang.String filename)
Read Document from file. |
static org.w3c.dom.Document |
getDocumentFromString(java.lang.String s)
Read Document from String. |
static org.w3c.dom.Document |
getDocumentFromURL(java.net.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 org.w3c.dom.Document getDocumentFromFile(java.lang.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 org.w3c.dom.Document getDocumentFromString(java.lang.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 org.w3c.dom.Document getDocumentFromURL(java.net.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 |