KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > util > xml > parser > XMLDictionnaryIF


1 package org.sapia.util.xml.parser;
2
3
4 /**
5  * This interface defines a bunch of constant values used in manipulation
6  * of XML documents. This dictionnary interface represents all the different
7  * values defined by the XML speficication like the namespace uri, the default
8  * xml namespace prefix, the reserved attributes like <CODE>xml:lang</CODE>,
9  * <CODE>xml:space</CODE> and <CODE>xml:base</CODE> and their values.
10  *
11  * @author Jean-Cedric Desrochers
12  * <dl>
13  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
14  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
15  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
16  * </dl>
17  */

18 public interface XMLDictionnaryIF {
19   /** Defines the namspace URI of XML 1.0 */
20   public static final String JavaDoc XML_NAMESPACE_URI = "http://www.w3.org/XML/1998/namespace";
21
22   /** Defines the reserved namespace prefix for the XML specification. */
23   public static final String JavaDoc XML_NAMESPACE_PREFIX = "xml:";
24
25   /** Defines the lang element name. */
26   public static final String JavaDoc LOCAL_ELEMENT_XML_LANG = "lang";
27
28   /** Defines the xml:lang element name. */
29   public static final String JavaDoc QUALIFIED_ELEMENT_XML_LANG = "xml:lang";
30
31   /** Defines the space element name. */
32   public static final String JavaDoc LOCAL_ELEMENT_XML_SPACE = "space";
33
34   /** Defines the xml:space element name. */
35   public static final String JavaDoc QUALIFIED_ELEMENT_XML_SPACE = "xml:space";
36
37   /** Defines the base element name. */
38   public static final String JavaDoc LOCAL_ELEMENT_XML_BASE = "xml:base";
39
40   /** Defines the xml:base element name. */
41   public static final String JavaDoc QUALIFIED_ELEMENT_XML_BASE = "xml:base";
42
43   /** Defines the restricted value default for the xml:space element. */
44   public static final String JavaDoc VALUE_DEFAULT = "default";
45
46   /** Defines the restricted value preserved for the xml:space element. */
47   public static final String JavaDoc VALUE_PRESERVED = "preserved";
48 }
49
Popular Tags