01: /*
02: * Copyright (c) 2004 World Wide Web Consortium,
03: *
04: * (Massachusetts Institute of Technology, European Research Consortium for
05: * Informatics and Mathematics, Keio University). All Rights Reserved. This
06: * work is distributed under the W3C(r) Software License [1] in the hope that
07: * it will be useful, but WITHOUT ANY WARRANTY; without even the implied
08: * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
09: *
10: * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
11: */
12: package org.w3c.dom;
13:
14: // $Id: DOMConfiguration.java 41038 2006-02-08 07:03:26Z starksm $
15:
16: /**
17: * The <code>DOMConfiguration</code> interface represents the configuration
18: * of a document and maintains a table of recognized parameters.
19: *
20: * @since DOM Level 3
21: */
22: public interface DOMConfiguration {
23: /**
24: * Set the value of a parameter.
25: */
26: public void setParameter(String name, Object value)
27: throws DOMException;
28:
29: /**
30: * Return the value of a parameter if known.
31: */
32: public Object getParameter(String name) throws DOMException;
33:
34: /**
35: * Check if setting a parameter to a specific value is supported.
36: */
37: public boolean canSetParameter(String name, Object value);
38:
39: /**
40: * The list of the parameters supported by this
41: * <code>DOMConfiguration</code> object and for which at least one value
42: * can be set by the application. Note that this list can also contain
43: * parameter names defined outside this specification.
44: */
45: public DOMStringList getParameterNames();
46:
47: }
|