public class NamespaceConstant extends Object
This class also defines constant URIs for some objects other than namespaces - for example, URIs that identify the various object models used in the JAXP XPath API, and the Unicode codepoint collation URI.
Modifier and Type | Field and Description |
---|---|
static String |
ANONYMOUS
Namespace for names allocated to anonymous types.
|
static String |
CODEPOINT_COLLATION_URI
URI identifying the Unicode codepoint collation
|
static String |
DOT_NET_TYPE
Namespace for types representing external .NET objects
|
static String |
ERR
The standard namespace for system error codes
|
static String |
EXPATH_ZIP
URI for the EXPath zip module
|
static String |
EXSLT_COMMON
Fixed namespace name for EXSLT/Common: "http://exslt.org/common"
|
static String |
EXSLT_DATES_AND_TIMES
Fixed namespace name for EXSLT/date: "http://exslt.org/dates-and-times"
|
static String |
EXSLT_MATH
Fixed namespace name for EXSLT/math: "http://exslt.org/math"
|
static String |
EXSLT_RANDOM
Fixed namespace name for EXSLT/random: "http://exslt.org/random"
|
static String |
EXSLT_SETS
Fixed namespace name for EXSLT/sets: "http://exslt.org/sets"
|
static String |
FN
The standard namespace for functions and operators
|
static String |
JAVA_TYPE
Namespace for types representing external Java objects
|
static String |
JSON
Namespace for JSON defined in XSLT 3.0
|
static String |
LOCAL
Predefined XQuery namespace for local functions
|
static String |
MAP_FUNCTIONS
Namespace URI for XPath 3.0 functions associated with maps
|
static String |
MAP_FUNCTIONS_2011
Namespace URI for XPath 3.0 functions associated with maps as defined in the 2013 XSLT specification
|
static String |
MATH
Math namespace for the XPath 3.0 math functions
|
static String |
MATHML
The MathML namespace
|
static String |
MICROSOFT_XSL
Recognize the Microsoft namespace so we can give a suitably sarcastic error message
|
static String |
NULL
A URI representing the null namespace (actually, an empty string)
|
static short |
NULL_CODE
The numeric URI code representing the null namespace (actually, zero)
|
static String |
OBJECT_MODEL_AXIOM
URI identifying the AXIOM object model for use in the JAXP 1.3 XPath API
|
static String |
OBJECT_MODEL_DOM4J
URI identifying the DOM4J object model for use in the JAXP 1.3 XPath API
|
static String |
OBJECT_MODEL_DOT_NET_DOM
URI identifying the .NET DOM object model (not used, but needed for consistency)
|
static String |
OBJECT_MODEL_JDOM
URI identifying the JDOM object model for use in the JAXP 1.3 XPath API
|
static String |
OBJECT_MODEL_SAXON
URI identifying the Saxon object model for use in the JAXP 1.3 XPath API
|
static String |
OBJECT_MODEL_XOM
URI identifying the XOM object model for use in the JAXP 1.3 XPath API
|
static String |
OUTPUT
The standard namespace for XQuery output declarations
|
static String |
SAXON
Fixed namespace name for SAXON: "http://saxon.sf.net/"
|
static short |
SAXON_CODE
Numeric code representing the SAXON namespace
|
static String |
SAXON_CONFIGURATION
URI for the Saxon configuration file
|
static String |
SAXON_GENERATED_GLOBAL
URI for the names of generated global variables
|
static String |
SCHEMA
Namespace name for XML Schema: "http://www.w3.org/2001/XMLSchema"
|
static short |
SCHEMA_CODE
Numeric code representing the schema namespace
|
static String |
SCHEMA_INSTANCE
XML-schema-defined namespace for use in instance documents ("xsi")
|
static String |
SCHEMA_VERSIONING
Namespace defined in XSD 1.1 for schema versioning
|
static String |
SCM
Namespace for the Saxon serialization of the schema component model
|
static String |
SQL
Fixed namespace name for SAXON SQL extension: "http://saxon.sf.net/sql"
|
static String |
SVG
The SVG namespace
|
static String |
XHTML
The XHTML namespace http://www.w3.org/1999/xhtml
|
static String |
XLINK
The XLink namespace
|
static String |
XML
Fixed namespace name for XML: "http://www.w3.org/XML/1998/namespace".
|
static short |
XML_CODE
Numeric code representing the XML namespace
|
static String |
XMLNS
The XMLNS namespace (used in DOM)
|
static String |
XQUERY
The xquery namespace for the XQuery 3.0 declare option
|
static String |
XQUERY_OPTIONS
The xquery-option namespace for the XQuery 3.0 feature names
|
static short |
XSI_CODE |
static String |
XSLT
Fixed namespace name for XSLT: "http://www.w3.org/1999/XSL/Transform"
|
static short |
XSLT_CODE
Numeric code representing the XSLT namespace
|
Modifier and Type | Method and Description |
---|---|
static String |
findSimilarNamespace(String candidate)
Find a similar namespace to one that is a possible mis-spelling
|
static boolean |
isReserved(String uri)
Determine whether a namespace is a reserved namespace
|
static boolean |
isReservedInQuery(String uri)
Determine whether a namespace is a reserved namespace
|
static boolean |
isReservedInQuery30(String uri)
Determine whether a namespace is a reserved namespace
|
public static final String NULL
public static final short NULL_CODE
public static final String XML
public static final short XML_CODE
public static final String XSLT
public static final short XSLT_CODE
public static final String SAXON
public static final short SAXON_CODE
public static final String SCHEMA
public static final short SCHEMA_CODE
public static final String SCHEMA_INSTANCE
public static final short XSI_CODE
public static final String SCHEMA_VERSIONING
public static final String SQL
public static final String EXSLT_COMMON
public static final String EXSLT_MATH
public static final String EXSLT_SETS
public static final String EXSLT_DATES_AND_TIMES
public static final String EXSLT_RANDOM
public static final String FN
public static final String OUTPUT
public static final String ERR
public static final String LOCAL
public static final String MATH
public static final String MAP_FUNCTIONS
public static final String MAP_FUNCTIONS_2011
public static final String JSON
public static final String MICROSOFT_XSL
public static final String XHTML
public static final String SVG
public static final String MATHML
public static final String XMLNS
public static final String XLINK
public static final String XQUERY_OPTIONS
public static final String XQUERY
public static final String JAVA_TYPE
public static final String DOT_NET_TYPE
public static final String ANONYMOUS
public static final String SCM
public static final String OBJECT_MODEL_SAXON
public static final String OBJECT_MODEL_XOM
public static final String OBJECT_MODEL_JDOM
public static final String OBJECT_MODEL_AXIOM
public static final String OBJECT_MODEL_DOM4J
public static final String OBJECT_MODEL_DOT_NET_DOM
public static final String CODEPOINT_COLLATION_URI
public static final String SAXON_GENERATED_GLOBAL
public static final String SAXON_CONFIGURATION
public static final String EXPATH_ZIP
public static boolean isReserved(String uri)
uri
- the namespace URI to be testedpublic static boolean isReservedInQuery(String uri)
uri
- the namespace URI to be testedpublic static boolean isReservedInQuery30(String uri)
uri
- the namespace URI to be testedCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.