|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.definition.DocumentParser
public class DocumentParser
Parses the XML definition using dom4j.
Constructor Summary | |
---|---|
DocumentParser()
|
Method Summary | |
---|---|
static void |
addVirtualAspect(SystemDefinition definition)
Adds a virtual system aspect to the definition. |
static Set |
parse(ClassLoader loader,
org.dom4j.Document document)
Parses the definition DOM document. |
static List |
parseAspectClassNames(org.dom4j.Document document)
Parses aspect class names. |
static AspectDefinition |
parseAspectDefinition(org.dom4j.Document document,
SystemDefinition systemDef,
Class aspectClass)
Parses the definition DOM document. |
static void |
parsePrepareElements(org.dom4j.Element root,
SystemDefinition definition,
String packageName)
Parses the prepare elements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentParser()
Method Detail |
---|
public static List parseAspectClassNames(org.dom4j.Document document)
document
- the defintion as a document
public static AspectDefinition parseAspectDefinition(org.dom4j.Document document, SystemDefinition systemDef, Class aspectClass)
document
- the defintion as a documentsystemDef
- the system definitionaspectClass
- the aspect class
public static Set parse(ClassLoader loader, org.dom4j.Document document)
loader
- the current class loaderdocument
- the defintion as a document
public static void addVirtualAspect(SystemDefinition definition)
definition
- public static void parsePrepareElements(org.dom4j.Element root, SystemDefinition definition, String packageName)
root
- the root elementdefinition
- the definition objectpackageName
- the base package name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |