JDOM
2.0.5

org.jdom2
Class JDOMConstants

java.lang.Object
  extended by org.jdom2.JDOMConstants

public final class JDOMConstants
extends java.lang.Object

A collection of constants that may be useful to JDOM users.

JDOM attempts to make knowing these 'magic' constants unnecessary, but it is not always possible. In an attempt to make it easier though, common constants are defined here. This is not a comprehensive list of all the constants that may be useful when processing XML, but it should cover most of those occasions where JDOM does not automatically do the 'right thing'.

Many of these constants are already referenced inside the JDOM code.

Author:
Rolf Lear

Field Summary
static java.lang.String JDOM2_FEATURE_JDOMRESULT
          Constant used to define the JDOMResult with TransformerFactory.
static java.lang.String JDOM2_FEATURE_JDOMSOURCE
          Constant used to define the JDOMSource with JAXP.
static java.lang.String JDOM2_PROPERTY_LINE_SEPARATOR
          System Property queried to obtain an alternate default Line Separator.
static java.lang.String JDOM2_PROPERTY_XPATH_FACTORY
          System Property queried to obtain an alternate default XPathFactory.
static java.lang.String NS_PREFIX_DEFAULT
          Defined as ""
static java.lang.String NS_PREFIX_XML
          Defined as "xml"
static java.lang.String NS_PREFIX_XMLNS
          Defined as "xmlns"
static java.lang.String NS_URI_DEFAULT
          Defined as ""
static java.lang.String NS_URI_XML
          Defined as "http://www.w3.org/XML/1998/namespace"
static java.lang.String NS_URI_XMLNS
          Defined as "http://www.w3.org/2000/xmlns/"
static java.lang.String SAX_FEATURE_EXTERNAL_ENT
          Defined as "http://xml.org/sax/features/external-general-entities"
static java.lang.String SAX_FEATURE_NAMESPACE_PREFIXES
          Defined as "http://xml.org/sax/features/namespace-prefixes"
static java.lang.String SAX_FEATURE_NAMESPACES
          Defined as "http://xml.org/sax/features/namespaces"
static java.lang.String SAX_FEATURE_VALIDATION
          Defined as "http://xml.org/sax/features/validation"
static java.lang.String SAX_PROPERTY_DECLARATION_HANDLER
          Defined as "http://xml.org/sax/properties/declaration-handler"
static java.lang.String SAX_PROPERTY_DECLARATION_HANDLER_ALT
          Defined as "http://xml.org/sax/handlers/DeclHandler"
static java.lang.String SAX_PROPERTY_LEXICAL_HANDLER
          Defined as "http://xml.org/sax/properties/lexical-handler"
static java.lang.String SAX_PROPERTY_LEXICAL_HANDLER_ALT
          Defined as "http://xml.org/sax/handlers/LexicalHandler"
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS_PREFIX_DEFAULT

public static final java.lang.String NS_PREFIX_DEFAULT
Defined as ""

See Also:
Constant Field Values

NS_URI_DEFAULT

public static final java.lang.String NS_URI_DEFAULT
Defined as ""

See Also:
Constant Field Values

NS_PREFIX_XML

public static final java.lang.String NS_PREFIX_XML
Defined as "xml"

See Also:
Constant Field Values

NS_URI_XML

public static final java.lang.String NS_URI_XML
Defined as "http://www.w3.org/XML/1998/namespace"

See Also:
Constant Field Values

NS_PREFIX_XMLNS

public static final java.lang.String NS_PREFIX_XMLNS
Defined as "xmlns"

See Also:
Constant Field Values

NS_URI_XMLNS

public static final java.lang.String NS_URI_XMLNS
Defined as "http://www.w3.org/2000/xmlns/"

See Also:
Constant Field Values

SAX_PROPERTY_DECLARATION_HANDLER

public static final java.lang.String SAX_PROPERTY_DECLARATION_HANDLER
Defined as "http://xml.org/sax/properties/declaration-handler"

See Also:
Constant Field Values

SAX_PROPERTY_DECLARATION_HANDLER_ALT

public static final java.lang.String SAX_PROPERTY_DECLARATION_HANDLER_ALT
Defined as "http://xml.org/sax/handlers/DeclHandler"

See Also:
Constant Field Values

SAX_PROPERTY_LEXICAL_HANDLER

public static final java.lang.String SAX_PROPERTY_LEXICAL_HANDLER
Defined as "http://xml.org/sax/properties/lexical-handler"

See Also:
Constant Field Values

SAX_PROPERTY_LEXICAL_HANDLER_ALT

public static final java.lang.String SAX_PROPERTY_LEXICAL_HANDLER_ALT
Defined as "http://xml.org/sax/handlers/LexicalHandler"

See Also:
Constant Field Values

SAX_FEATURE_EXTERNAL_ENT

public static final java.lang.String SAX_FEATURE_EXTERNAL_ENT
Defined as "http://xml.org/sax/features/external-general-entities"

See Also:
Constant Field Values

SAX_FEATURE_VALIDATION

public static final java.lang.String SAX_FEATURE_VALIDATION
Defined as "http://xml.org/sax/features/validation"

See Also:
Constant Field Values

SAX_FEATURE_NAMESPACES

public static final java.lang.String SAX_FEATURE_NAMESPACES
Defined as "http://xml.org/sax/features/namespaces"

See Also:
Constant Field Values

SAX_FEATURE_NAMESPACE_PREFIXES

public static final java.lang.String SAX_FEATURE_NAMESPACE_PREFIXES
Defined as "http://xml.org/sax/features/namespace-prefixes"

See Also:
Constant Field Values

JDOM2_FEATURE_JDOMSOURCE

public static final java.lang.String JDOM2_FEATURE_JDOMSOURCE
Constant used to define the JDOMSource with JAXP. Defined as "http://jdom.org/jdom2/transform/JDOMSource/feature"

See Also:
JDOMSource, Constant Field Values

JDOM2_FEATURE_JDOMRESULT

public static final java.lang.String JDOM2_FEATURE_JDOMRESULT
Constant used to define the JDOMResult with TransformerFactory. Defined as "http://jdom.org/jdom2/transform/JDOMResult/feature"

See Also:
JDOMResult, Constant Field Values

JDOM2_PROPERTY_XPATH_FACTORY

public static final java.lang.String JDOM2_PROPERTY_XPATH_FACTORY
System Property queried to obtain an alternate default XPathFactory. Defined as "org.jdom2.xpath.XPathFactory"

See Also:
XPathFactory, Constant Field Values

JDOM2_PROPERTY_LINE_SEPARATOR

public static final java.lang.String JDOM2_PROPERTY_LINE_SEPARATOR
System Property queried to obtain an alternate default Line Separator.

Defined as "org.jdom2.output.LineSeparator"

See Also:
LineSeparator, Constant Field Values

JDOM
2.0.5

Copyright 2013 Jason Hunter, Brett McLaughlin. All Rights Reserved.