Lines Matching refs:Parameter
31 * parameter instances to centralize each parameter's behavior.
35 private static final Map<String, Parameter> PARAMETERS
36 = new TreeMap<String, Parameter>(String.CASE_INSENSITIVE_ORDER);
88 * the validate parameter to true. Has no effect when validate is false.
125 PARAMETERS.put("error-handler", new Parameter() {
138 * Bulk alias to set the following parameter values:
208 PARAMETERS.put("schema-location", new Parameter() {
224 PARAMETERS.put("schema-type", new Parameter() {
299 interface Parameter {
305 static class FixedParameter implements Parameter {
324 static abstract class BooleanParameter implements Parameter {
331 Parameter parameter = PARAMETERS.get(name);
332 return parameter != null && parameter.canSet(this, value);
336 Parameter parameter = PARAMETERS.get(name);
337 if (parameter == null) {
338 throw new DOMException(DOMException.NOT_FOUND_ERR, "No such parameter: " + name);
341 parameter.set(this, value);
352 Parameter parameter = PARAMETERS.get(name);
353 if (parameter == null) {
354 throw new DOMException(DOMException.NOT_FOUND_ERR, "No such parameter: " + name);
356 return parameter.get(this);