|
||||||||||
| 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(Writer output)
|
|
| Method Summary | |
|---|---|
void |
beginArray(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(String referenceDescription)
Describes a reference |
void |
endArray()
ends the current array |
void |
endGroup()
Signals the end of an expression |
void |
operator(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(Writer output)
output - | Method Detail |
|---|
public void describe(Constraint constraint)
throws IOException
describe in interface ExpressionDescriberIOExceptionExpressionDescriber.describe(com.agical.rmock.core.match.Constraint)
public void beginGroup()
throws IOException
ExpressionDescriber
beginGroup in interface ExpressionDescriberIOException
public void describeInverted(Expression expression)
throws IOException
ExpressionDescriber
describeInverted in interface ExpressionDescriberIOException
public void operator(String operator)
throws IOException
ExpressionDescriber
operator in interface ExpressionDescriberoperator - An operator, usually a sign like &&, || etc
IOException
public void endGroup()
throws IOException
ExpressionDescriber
endGroup in interface ExpressionDescriberIOException
public void describeReference(String referenceDescription)
throws IOException
ExpressionDescriber
describeReference in interface ExpressionDescriberIOException
public void beginArray(Class type,
int length)
throws IOException
ExpressionDescriber
beginArray in interface ExpressionDescriberIOException
public void endArray()
throws IOException
ExpressionDescriber
endArray in interface ExpressionDescriberIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||