code: private String readValue1(String name) {
  		String in = scanner.next();
  		if (!in.startsWith(name)) {
  			throw new IllegalStateException("Expected " + name + " but got " + in);
  		}
  		if (in.endsWith(">")) {
  			return in.substring(name.length() + 2, in.length()-2);
  		} else {
  			return in.substring(name.length() + 2, in.length()-1);
  		}
  	}
docs: Read a value, e.g. class="x.y" return "x.y" for read("class").
  @param name
  @return value.