package com.qxueyou.scc.exercise.service.impl; public class ParseResult { private boolean success; /** * ÏÂÒ»²½³¢ÊÔ£º * PRE: ÍùÉϳ¢ÊÔ * CUR: µ±Ç° * NEXT: ÓÐеÄ×Ó½Úµã */ private String nextStep; public static final String STEP_PRE="PRE"; public static final String STEP_CUR="CUR"; public static final String STEP_NEXT="NEXT"; public ParseResult(boolean success,String nextStep,Node nextNode){ this.success=success; this.nextStep = nextStep; this.nextNode = nextNode; } /** * ÓÐеĽڵãʱнڵãÒýÓà */ private Node nextNode; public boolean isSuccess() { return success; } public void setSuccess(boolean success) { this.success = success; } public String getNextStep() { return nextStep; } public void setNextStep(String nextStep) { this.nextStep = nextStep; } public Node getNextNode() { return nextNode; } public void setNextNode(Node nextNode) { this.nextNode = nextNode; } }