org.codehaus.aspectwerkz.xmldef.definition
Class DefinitionValidator

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

public class DefinitionValidator
extends java.lang.Object

Validates an AspectWerkz definition, looking for:

Author:
Carlos Villela, Jonas Bonér

Constructor Summary
DefinitionValidator(AspectWerkzDefinition definition)
          Creates a new Definition Validator
 
Method Summary
 java.util.List getErrorMessages()
           
 void validate()
          Validates a Weave Model
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefinitionValidator

public DefinitionValidator(AspectWerkzDefinition definition)
Creates a new Definition Validator

Parameters:
definition - the definition to validate
Method Detail

validate

public void validate()
Validates a Weave Model


getErrorMessages

public java.util.List getErrorMessages()
Returns:
a list of the m_errors found


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