net.sf.saxon.om
Class NamespaceConstant

java.lang.Object
  extended bynet.sf.saxon.om.NamespaceConstant

public class NamespaceConstant
extends Object

This class is not instantiated, it exists to hold a set of constants representing known namespaces. For each of these, there is a constant for the namespace URI and for many of them, there is a numeric constant used as the code for this namespace in the name pool.

Author:
Field Summary
static String ANONYMOUS
          Namespace for names allocated to anonymous types.
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_FUNCTIONS
          Fixed namespace name for EXSLT/functions: "http://exslt.org/functions"
static short EXSLT_FUNCTIONS_CODE
          Numeric code representing the EXSLT functions namespace
static String EXSLT_MATH
          Fixed namespace name for EXSLT/math: "http://exslt.org/math"
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: currently the only one is java:Object
static String LOCAL
          Predefined XQuery namespace for local functions
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 code representing the null namespace (actually, zero)
static String SAXON
          Fixed namespace name for SAXON: "http://saxon.sf.net/"
static short SAXON_CODE
          Numeric code representing the SAXON namespace
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_DATATYPES
          Namespace name for XML Schema Datatypes: "http://www.w3.org/2001/XMLSchema-datatypes"
static String SCHEMA_INSTANCE
          XML-schema-defined namespace for use in instance documents ("xsi")
static String XDT
          Namespace for additional XPath-defined data types: "http://www.w3.org/2003/05/xpath-datatypes"
static short XDT_CODE
          Numeric code representing the schema namespace
static String XHTML
          The XHTML namespace http://www.w3.org/1999/xhtml
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 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
 
Constructor Summary
NamespaceConstant()
           
 
Method Summary
static boolean isReserved(String uri)
          Determine whether a namespace is a reserved namespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final String NULL
A URI representing the null namespace (actually, an empty string)

See Also:
Constant Field Values

NULL_CODE

public static final short NULL_CODE
The numeric code representing the null namespace (actually, zero)

See Also:
Constant Field Values

XML

public static final String XML
Fixed namespace name for XML: "http://www.w3.org/XML/1998/namespace".

See Also:
Constant Field Values

XML_CODE

public static final short XML_CODE
Numeric code representing the XML namespace

See Also:
Constant Field Values

XSLT

public static final String XSLT
Fixed namespace name for XSLT: "http://www.w3.org/1999/XSL/Transform"

See Also:
Constant Field Values

XSLT_CODE

public static final short XSLT_CODE
Numeric code representing the XSLT namespace

See Also:
Constant Field Values

SAXON

public static final String SAXON
Fixed namespace name for SAXON: "http://saxon.sf.net/"

See Also:
Constant Field Values

SAXON_CODE

public static final short SAXON_CODE
Numeric code representing the SAXON namespace

See Also:
Constant Field Values

SCHEMA

public static final String SCHEMA
Namespace name for XML Schema: "http://www.w3.org/2001/XMLSchema"

See Also:
Constant Field Values

SCHEMA_CODE

public static final short SCHEMA_CODE
Numeric code representing the schema namespace

See Also:
Constant Field Values

XDT

public static final String XDT
Namespace for additional XPath-defined data types: "http://www.w3.org/2003/05/xpath-datatypes"

See Also:
Constant Field Values

XDT_CODE

public static final short XDT_CODE
Numeric code representing the schema namespace

See Also:
Constant Field Values

SCHEMA_DATATYPES

public static final String SCHEMA_DATATYPES
Namespace name for XML Schema Datatypes: "http://www.w3.org/2001/XMLSchema-datatypes"

See Also:
Constant Field Values

SCHEMA_INSTANCE

public static final String SCHEMA_INSTANCE
XML-schema-defined namespace for use in instance documents ("xsi")

See Also:
Constant Field Values

XSI_CODE

public static final short XSI_CODE
See Also:
Constant Field Values

EXSLT_COMMON

public static final String EXSLT_COMMON
Fixed namespace name for EXSLT/Common: "http://exslt.org/common"

See Also:
Constant Field Values

EXSLT_MATH

public static final String EXSLT_MATH
Fixed namespace name for EXSLT/math: "http://exslt.org/math"

See Also:
Constant Field Values

EXSLT_SETS

public static final String EXSLT_SETS
Fixed namespace name for EXSLT/sets: "http://exslt.org/sets"

See Also:
Constant Field Values

EXSLT_DATES_AND_TIMES

public static final String EXSLT_DATES_AND_TIMES
Fixed namespace name for EXSLT/date: "http://exslt.org/dates-and-times"

See Also:
Constant Field Values

EXSLT_FUNCTIONS

public static final String EXSLT_FUNCTIONS
Fixed namespace name for EXSLT/functions: "http://exslt.org/functions"

See Also:
Constant Field Values

EXSLT_FUNCTIONS_CODE

public static final short EXSLT_FUNCTIONS_CODE
Numeric code representing the EXSLT functions namespace

See Also:
Constant Field Values

FN

public static final String FN
The standard namespace for functions and operators

See Also:
Constant Field Values

LOCAL

public static final String LOCAL
Predefined XQuery namespace for local functions

See Also:
Constant Field Values

MICROSOFT_XSL

public static final String MICROSOFT_XSL
Recognize the Microsoft namespace so we can give a suitably sarcastic error message

See Also:
Constant Field Values

XHTML

public static final String XHTML
The XHTML namespace http://www.w3.org/1999/xhtml

See Also:
Constant Field Values

JAVA_TYPE

public static final String JAVA_TYPE
Namespace for types representing external Java objects: currently the only one is java:Object

See Also:
Constant Field Values

ANONYMOUS

public static final String ANONYMOUS
Namespace for names allocated to anonymous types. This exists so that a name fingerprint can be allocated for use as a type annotation.

See Also:
Constant Field Values
Constructor Detail

NamespaceConstant

public NamespaceConstant()
Method Detail

isReserved

public static final boolean isReserved(String uri)
Determine whether a namespace is a reserved namespace