com.tensegrity.generic.util.metric
Class MetricExpressionParser

java.lang.Object
  extended bycom.tensegrity.generic.util.metric.MetricExpressionParser

public class MetricExpressionParser
extends java.lang.Object

* The MetricExpressionParser is in charge of parsing the string representation of a metrix expression.

* * * * * * * * In order to parse the string represenation of a metric expression and to create an instance of MetricExpression the MetricExpressionParser provides the following methods: * * * * * * * * * *

Version:
$Id: MetricExpressionParser.java,v 1.7 2006/06/08 12:11:57 MichaelKegel Exp $
Author:
MKegel
See Also:
MetricExpression

Method Summary
static MetricExpression parse(java.lang.String expression)
          Parses the given string representation of a metric expression and returns an instance of MarticExpression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parse

public static final MetricExpression parse(java.lang.String expression)
                                    throws MetricExpressionParserException
Parses the given string representation of a metric expression and returns an instance of MarticExpression.

Parameters:
expression - the string representation to parse
Returns:
MetricExpression the created instance of MetricExpression
Throws:
MetricExpressionParserException - is thrown when the given string representation is malformed


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.