View Javadoc
1   /**
2    * Copyright (C) 2014-2017 Philip Helger (www.helger.com)
3    * philip[at]helger[dot]com
4    *
5    * Licensed under the Apache License, Version 2.0 (the "License");
6    * you may not use this file except in compliance with the License.
7    * 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  package com.helger.schematron;
18  
19  import javax.annotation.concurrent.Immutable;
20  
21  import com.helger.commons.annotation.PresentForCodeCoverage;
22  
23  /**
24   * Schematron XML constants.
25   *
26   * @author Philip Helger
27   */
28  @Immutable
29  public final class CSchematronXML
30  {
31    public static final String ATTR_ABSTRACT = "abstract";
32    public static final String ATTR_CLASS = "class";
33    public static final String ATTR_CONTEXT = "context";
34    public static final String ATTR_DEFAULT_PHASE = "defaultPhase";
35    public static final String ATTR_DIAGNOSTICS = "diagnostics";
36    public static final String ATTR_FLAG = "flag";
37    public static final String ATTR_FPI = "fpi";
38    public static final String ATTR_HREF = "href";
39    public static final String ATTR_ICON = "icon";
40    public static final String ATTR_ID = "id";
41    public static final String ATTR_IS_A = "is-a";
42    public static final String ATTR_NAME = "name";
43    public static final String ATTR_PATH = "path";
44    public static final String ATTR_PATTERN = "pattern";
45    public static final String ATTR_PREFIX = "prefix";
46    public static final String ATTR_QUERY_BINDING = "queryBinding";
47    public static final String ATTR_ROLE = "role";
48    public static final String ATTR_RULE = "rule";
49    public static final String ATTR_SCHEMA_VERSION = "schemaVersion";
50    public static final String ATTR_SEE = "see";
51    public static final String ATTR_SELECT = "select";
52    public static final String ATTR_SUBJECT = "subject";
53    public static final String ATTR_TEST = "test";
54    public static final String ATTR_URI = "uri";
55    public static final String ATTR_VALUE = "value";
56    public static final String ATTR_XML_LANG = "lang";
57    public static final String ATTR_XML_SPACE = "space";
58    public static final String ELEMENT_ACTIVE = "active";
59    public static final String ELEMENT_ASSERT = "assert";
60    public static final String ELEMENT_DIAGNOSTIC = "diagnostic";
61    public static final String ELEMENT_DIAGNOSTICS = "diagnostics";
62    public static final String ELEMENT_DIR = "dir";
63    public static final String ELEMENT_EMPH = "emph";
64    public static final String ELEMENT_EXTENDS = "extends";
65    public static final String ELEMENT_INCLUDE = "include";
66    public static final String ELEMENT_LET = "let";
67    public static final String ELEMENT_NAME = "name";
68    public static final String ELEMENT_NS = "ns";
69    public static final String ELEMENT_P = "p";
70    public static final String ELEMENT_PARAM = "param";
71    public static final String ELEMENT_PATTERN = "pattern";
72    public static final String ELEMENT_PHASE = "phase";
73    public static final String ELEMENT_REPORT = "report";
74    public static final String ELEMENT_RULE = "rule";
75    public static final String ELEMENT_SCHEMA = "schema";
76    public static final String ELEMENT_SPAN = "span";
77    public static final String ELEMENT_TITLE = "title";
78    public static final String ELEMENT_VALUE_OF = "value-of";
79  
80    @PresentForCodeCoverage
81    private static final CSchematronXML s_aInstance = new CSchematronXML ();
82  
83    private CSchematronXML ()
84    {}
85  }