|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.definition.XmlDefinitionParser
Parses the XML definition file using dom4j.
| Constructor Summary | |
XmlDefinitionParser()
|
|
| Method Summary | |
static org.dom4j.Document |
createDocument(java.io.InputStream stream)
Creates a DOM document. |
static org.dom4j.Document |
createDocument(java.net.URL url)
Creates a DOM document. |
static org.dom4j.Document |
mergeDocuments(org.dom4j.Document document1,
org.dom4j.Document document2)
Merges two DOM documents. |
static AspectWerkzDefinition |
parse(org.dom4j.Document document)
Parses the definition DOM document. |
static AspectWerkzDefinition |
parse(java.io.File definitionFile)
Parses the XML definition file. |
static AspectWerkzDefinition |
parse(java.io.File definitionFile,
boolean isDirty)
Parses the XML definition file, only if it has been updated. |
static AspectWerkzDefinition |
parse(java.io.InputStream stream)
Parses the XML definition file retrieved from an input stream. |
static AspectWerkzDefinition |
parseNoCache(java.net.URL url)
Parses the XML definition file not using the cache. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XmlDefinitionParser()
| Method Detail |
public static AspectWerkzDefinition parse(java.io.File definitionFile)
definitionFile - the definition file
public static AspectWerkzDefinition parse(java.io.File definitionFile,
boolean isDirty)
definitionFile - the definition fileisDirty - flag to mark the the definition as updated or not
public static AspectWerkzDefinition parse(java.io.InputStream stream)
stream - the input stream containing the document
public static AspectWerkzDefinition parseNoCache(java.net.URL url)
url - the URL to the definition file
public static AspectWerkzDefinition parse(org.dom4j.Document document)
document - the defintion as a document
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(java.net.URL url)
throws org.dom4j.DocumentException
url - the URL to the file containing the XML
org.dom4j.DocumentException
java.net.MalformedURLException
public static org.dom4j.Document createDocument(java.io.InputStream stream)
throws org.dom4j.DocumentException
stream - the stream containing the XML
org.dom4j.DocumentException
java.net.MalformedURLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||