net.sourceforge.nrl.parser.operators
Interface IOperators

All Known Implementing Classes:
Operators

public interface IOperators

A collection of operators, with operations to look them up by name. This needs a concrete implementation, for example to load and write definitions from and to XML.


Method Summary
 String getDocumentation()
          Return the operator documentation, may be null.
 List<String> getModelFileNames()
          The list of referenced models.
 IOperator getOperator(String name)
          Get an operator by name.
 List<IOperator> getOperators()
          Return all operators in this collection.
 List<NRLError> resolveModelReferences(IModelCollection models)
          Resolve all parameter type and return type references against models.
 

Method Detail

getDocumentation

String getDocumentation()
Return the operator documentation, may be null.

Returns:
the documentation

getModelFileNames

List<String> getModelFileNames()
The list of referenced models.

Returns:
the list

getOperators

List<IOperator> getOperators()
Return all operators in this collection.

Returns:
a list of IOperator.

getOperator

IOperator getOperator(String name)
Get an operator by name. Returns null if not found.

Parameters:
name - the name
Returns:
the operator or null

resolveModelReferences

List<NRLError> resolveModelReferences(IModelCollection models)
Resolve all parameter type and return type references against models.

Parameters:
models - the models
Returns:
any errors encountered


Copyright © 2006-2010 Christian Nentwich and others