net.sf.sasl.language.placeholder.aop.interpreter
Interface IPlaceholderResolverSymbolTable

All Known Implementing Classes:
PlaceholderResolverSymbolTable

public interface IPlaceholderResolverSymbolTable

Interface defines methods that a placeholder symbol table must support. A placeholder symbol table is a dictionary for placeholder resolvers.

Since:
0.0.2 (sasl-common-aspect-library)
Author:
Philipp Förmer

Method Summary
 boolean isEmpty()
          Returns true, if the symbol table is empty, false else.
 IPlaceholderResolver lookUp(String placeholderName)
          Looks up a for a resolver than can resolve the given placeholder.
 int size()
          Returns the number of entries in the table.
 

Method Detail

lookUp

IPlaceholderResolver lookUp(String placeholderName)
Looks up a for a resolver than can resolve the given placeholder. Returns null, if there exists no such.

Parameters:
placeholderName - non null.
Returns:
null or non null
Since:
0.0.2 (sasl-common-aspect-library)

size

int size()
Returns the number of entries in the table.

Returns:
positive integer value.
Since:
0.0.2 (sasl-common-aspect-library)

isEmpty

boolean isEmpty()
Returns true, if the symbol table is empty, false else.

Returns:
true or false.
Since:
0.0.2 (sasl-common-aspect-library)


Copyright © 2010. All Rights Reserved.