KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > tools > ant > util > XmlConstants


1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */

18 package org.apache.tools.ant.util;
19
20 /**
21  * XML Parser constants, all kept in one place for ease of reuse
22  * @see <a HREF="http://xml.apache.org/xerces-j/features.html">Xerces features</a>
23  * @see <a HREF="http://xml.apache.org/xerces-j/properties.html">Xerces properties</a>
24  * @see <a HREF=
25  * "http://www.saxproject.org/apidoc/org/xml/sax/package-summary.html#package_description"
26  * >SAX.</a>
27  */

28
29 public class XmlConstants {
30     /** property for location of xml schema */
31     public static final String JavaDoc PROPERTY_SCHEMA_LOCATION =
32             "http://apache.org/xml/properties/schema/external-schemaLocation";
33     /** property for location of no-name schema */
34     public static final String JavaDoc PROPERTY_NO_NAMESPACE_SCHEMA_LOCATION =
35             "http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation";
36     /** property for full validation */
37     public static final String JavaDoc FEATURE_XSD_FULL_VALIDATION =
38             "http://apache.org/xml/features/validation/schema-full-checking";
39     /** property for xsd */
40     public static final String JavaDoc FEATURE_XSD = "http://apache.org/xml/features/validation/schema";
41
42     /** property for validation */
43     public static final String JavaDoc FEATURE_VALIDATION = "http://xml.org/sax/features/validation";
44     /** property for namespace support */
45     public static final String JavaDoc FEATURE_NAMESPACES = "http://xml.org/sax/features/namespaces";
46     /** property for schema language */
47     public static final String JavaDoc FEATURE_JAXP12_SCHEMA_LANGUAGE =
48             "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
49     /** property for schema source */
50     public static final String JavaDoc FEATURE_JAXP12_SCHEMA_SOURCE =
51             "http://java.sun.com/xml/jaxp/properties/schemaSource";
52     /** the namespace for XML schema */
53     public static final String JavaDoc URI_XSD =
54             "http://www.w3.org/2001/XMLSchema";
55     /** the sax external entities feature */
56     public static final String JavaDoc FEATURE_EXTERNAL_ENTITIES =
57             "http://xml.org/sax/features/external-general-entities";
58     /** the apache.org/xml disalllow doctype decl feature */
59     public static final String JavaDoc FEATURE_DISALLOW_DTD =
60             "http://apache.org/xml/features/disallow-doctype-decl";
61 }
62
Popular Tags