org.codehaus.aspectwerkz.regexp
Class CompiledPatternTuple

java.lang.Object
  extended byorg.codehaus.aspectwerkz.regexp.CompiledPatternTuple
All Implemented Interfaces:
java.io.Serializable

public class CompiledPatternTuple
extends java.lang.Object
implements java.io.Serializable

Holds a pre-compiled tuple that consists of the class pattern and the pattern for a specific pointcut.

Author:
Jonas Bonér
See Also:
Serialized Form

Constructor Summary
CompiledPatternTuple(ClassPattern classPattern, Pattern pattern, boolean hierarchical)
          Creates a new pointcut pattern.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 ClassPattern getClassPattern()
          Returns the class pattern.
 Pattern getPattern()
          Returns the pattern.
 int hashCode()
           
 boolean isHierarchical()
          Checks it the pointcut is hierarchical.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompiledPatternTuple

public CompiledPatternTuple(ClassPattern classPattern,
                            Pattern pattern,
                            boolean hierarchical)
Creates a new pointcut pattern.

Parameters:
classPattern - the class pattern
pattern - the pattern
hierarchical - the hierarchical flag
Method Detail

getClassPattern

public ClassPattern getClassPattern()
Returns the class pattern.

Returns:
the class pattern

getPattern

public Pattern getPattern()
Returns the pattern.

Returns:
the pattern

isHierarchical

public boolean isHierarchical()
Checks it the pointcut is hierarchical.

Returns:
the flag

toString

public java.lang.String toString()

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)


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