|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.agical.rmock.core.describe.impl.ExpressionDescriberImpl
public class ExpressionDescriberImpl
(c) Agical AB 2005
| Constructor Summary | |
|---|---|
ExpressionDescriberImpl(java.io.Writer output)
|
|
| Method Summary | |
|---|---|
void |
beginArray(java.lang.Class type,
int length)
marks the beginning of an array |
void |
beginGroup()
Signals the beginning of an expression |
void |
describe(Constraint constraint)
|
void |
describeInverted(Expression expression)
describe this constraint as inverted ie !wrappedConstraint |
void |
describeReference(java.lang.String referenceDescription)
Describes a reference |
void |
endArray()
ends the current array |
void |
endGroup()
Signals the end of an expression |
void |
operator(java.lang.String operator)
Inserts an operator in the constraint. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpressionDescriberImpl(java.io.Writer output)
output - | Method Detail |
|---|
public void describe(Constraint constraint)
throws java.io.IOException
describe in interface ExpressionDescriberjava.io.IOExceptionExpressionDescriber.describe(com.agical.rmock.core.match.Constraint)
public void beginGroup()
throws java.io.IOException
ExpressionDescriber
beginGroup in interface ExpressionDescriberjava.io.IOException
public void describeInverted(Expression expression)
throws java.io.IOException
ExpressionDescriber
describeInverted in interface ExpressionDescriberjava.io.IOException
public void operator(java.lang.String operator)
throws java.io.IOException
ExpressionDescriber
operator in interface ExpressionDescriberoperator - An operator, usually a sign like &&, || etc
java.io.IOException
public void endGroup()
throws java.io.IOException
ExpressionDescriber
endGroup in interface ExpressionDescriberjava.io.IOException
public void describeReference(java.lang.String referenceDescription)
throws java.io.IOException
ExpressionDescriber
describeReference in interface ExpressionDescriberjava.io.IOException
public void beginArray(java.lang.Class type,
int length)
throws java.io.IOException
ExpressionDescriber
beginArray in interface ExpressionDescriberjava.io.IOException
public void endArray()
throws java.io.IOException
ExpressionDescriber
endArray in interface ExpressionDescriberjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||