Lines Matching refs:Status
43 * a status code and then provide the {@code String} in a separate
76 public enum Status {
83 private Status(String message) {
88 * Returns a brief description of the {@code Status} for
122 * Indicates the state we are in. see {@link EntityResolver.Status}.
124 private Status status;
129 * with status {@code NOT_STARTED}, see {@link EntityResolver.Status}.
134 status = Status.NOT_STARTED;
141 * and status.
149 status = aEntityResolver.status;
157 status = Status.NOT_STARTED;
171 return String.format("Status: %s; Contents (%d): %s", status.toString(),
177 * after {@code processChar} returned status {@code COMPLETED}.
180 * we were called with any status other than {@code COMPLETED}
195 public Status processChar(char input) {
197 Preconditions.checkState(status != Status.NOT_STARTED || sb.length() == 0);
198 if (status == Status.NOT_STARTED) {
201 status = Status.IN_PROGRESS;
203 } else if (status == Status.IN_PROGRESS) {
205 status = Status.COMPLETED;
211 status = Status.COMPLETED;
216 // Status.COMPLETED, ignore character, do nothing.
218 return status;