|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.definition.XmlParser
public class XmlParser
Parses the XML definition file using dom4j.
Constructor Summary | |
---|---|
XmlParser()
|
Method Summary | |
---|---|
static org.dom4j.Document |
createDocument(String string)
Creates a DOM document. |
static org.dom4j.Document |
createDocument(URL url)
Creates a DOM document. |
static org.dom4j.Document |
mergeDocuments(org.dom4j.Document document1,
org.dom4j.Document document2)
Merges two DOM documents. |
static Set |
parseNoCache(ClassLoader loader,
URL url)
Parses the XML definition file not using the cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlParser()
Method Detail |
---|
public static Set parseNoCache(ClassLoader loader, URL url)
loader
- the current class loaderurl
- the URL to the definition file
public static org.dom4j.Document mergeDocuments(org.dom4j.Document document1, org.dom4j.Document document2)
document1
- the first documentdocument2
- the second document
public static org.dom4j.Document createDocument(URL url) throws org.dom4j.DocumentException
url
- the URL to the file containing the XML
org.dom4j.DocumentException
public static org.dom4j.Document createDocument(String string) throws org.dom4j.DocumentException
string
- the string containing the XML
org.dom4j.DocumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |