org.codehaus.aspectwerkz.xmldef.definition
Class DocumentParser

java.lang.Object
  extended byorg.codehaus.aspectwerkz.xmldef.definition.DocumentParser

public class DocumentParser
extends java.lang.Object

Parses the xmldef XML definition file using dom4j.

Author:
Jonas Bonér, Alexandre Vasseur

Field Summary
static java.lang.String CALLER_SIDE
           
static java.lang.String CFLOW
           
static java.lang.String CLASS
           
static java.lang.String GET_FIELD
           
static java.lang.String METHOD
           
static java.lang.String SET_FIELD
           
static java.lang.String THROWS
           
 
Constructor Summary
DocumentParser()
           
 
Method Summary
static AspectWerkzDefinition parseElements(org.dom4j.Element systemElement, java.lang.String basePackage, java.lang.String uuid)
          Parses the definition elements.
static AspectWerkzDefinition parseSystemElement(org.dom4j.Element systemElement, java.lang.String basePackage)
          Parses the system element.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD

public static final java.lang.String METHOD
See Also:
Constant Field Values

GET_FIELD

public static final java.lang.String GET_FIELD
See Also:
Constant Field Values

SET_FIELD

public static final java.lang.String SET_FIELD
See Also:
Constant Field Values

THROWS

public static final java.lang.String THROWS
See Also:
Constant Field Values

CALLER_SIDE

public static final java.lang.String CALLER_SIDE
See Also:
Constant Field Values

CFLOW

public static final java.lang.String CFLOW
See Also:
Constant Field Values

CLASS

public static final java.lang.String CLASS
See Also:
Constant Field Values
Constructor Detail

DocumentParser

public DocumentParser()
Method Detail

parseSystemElement

public static AspectWerkzDefinition parseSystemElement(org.dom4j.Element systemElement,
                                                       java.lang.String basePackage)
Parses the system element.

Parameters:
systemElement - the system element
basePackage - the base package
Returns:
the definition for the system

parseElements

public static AspectWerkzDefinition parseElements(org.dom4j.Element systemElement,
                                                  java.lang.String basePackage,
                                                  java.lang.String uuid)
Parses the definition elements.

Parameters:
systemElement - the system element
basePackage -
uuid - the definition UUID
Returns:
the definition for the system


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.