com.thaiopensource.pullax
Class XmlFeature

java.lang.Object
  |
  +--com.thaiopensource.pullax.XmlFeature

public class XmlFeature
extends java.lang.Object


Field Summary
static XmlFeature ALLOW_SPLIT_TEXT
           
static XmlFeature PRESERVE_ATTRIBUTE_ORDER
           
static XmlFeature SHOW_BUILTIN_ENTITY_REFERENCE
          The feature that controls handling of references to the 5 builtin entities.
static XmlFeature SHOW_CDATA_SECTION
          The feature that controls handling of CDATA sections.
static XmlFeature SHOW_CHARACTER_REFERENCE
          The feature that controls handling of character references.
static XmlFeature SHOW_COMMENT
          The feature that controls handling of comments.
static XmlFeature SHOW_DOCUMENT_ENTITY
          The feature that controls handling of the document entity.
static XmlFeature SHOW_DOCUMENT_TYPE
          The feature that controls handling of the document type declaration.
static XmlFeature SHOW_EMPTY_ELEMENT
          The feature that controls handling of empty elements.
static XmlFeature SHOW_EXTERNAL_ENTITY
          The feature that controls handling of references to external general parsed entities.
static XmlFeature SHOW_INTERNAL_ENTITY
          The feature that controls handling of references to internal general parsed entities.
static XmlFeature SHOW_PROCESSING_INSTRUCTION
          The feature that controls handling of processing instructions.
static XmlFeature SHOW_TOP_LEVEL_WHITESPACE
          The feature that controls handling of top-level whitespace.
static XmlFeature SHOW_UNEXPANDED_ENTITY_REFERENCE
          The feature that controls handling of unexpanded entity references.
static XmlFeature SKIP_EXTERNAL_GENERAL_ENTITIES
           
static XmlFeature SKIP_PARAMETER_ENTITIES
           
static XmlFeature SKIP_PARAMETER_ENTITIES_IF_STANDALONE
           
static XmlFeature VALIDATE
          The feature that controls XML 1.0 validation.
 
Constructor Summary
protected XmlFeature()
           
 
Method Summary
static XmlFeature uriFeature(java.lang.String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHOW_EMPTY_ELEMENT

public static final XmlFeature SHOW_EMPTY_ELEMENT
The feature that controls handling of empty elements.
See Also:
XmlItem.START_ELEMENT, XmlItem.END_ELEMENT, XmlItem.EMPTY_ELEMENT

SHOW_CDATA_SECTION

public static final XmlFeature SHOW_CDATA_SECTION
The feature that controls handling of CDATA sections.
See Also:
XmlItem.CDATA_SECTION

SHOW_PROCESSING_INSTRUCTION

public static final XmlFeature SHOW_PROCESSING_INSTRUCTION
The feature that controls handling of processing instructions.
See Also:
XmlItem.PROCESSING_INSTRUCTION

SHOW_COMMENT

public static final XmlFeature SHOW_COMMENT
The feature that controls handling of comments.
See Also:
XmlItem.COMMENT

SHOW_DOCUMENT_ENTITY

public static final XmlFeature SHOW_DOCUMENT_ENTITY
The feature that controls handling of the document entity. If this feature is present, then START_ENTITY and END_ENTITY iterms are returned for the document entity.
See Also:
XmlItem.START_ENTITY, XmlItem.END_ENTITY

SHOW_EXTERNAL_ENTITY

public static final XmlFeature SHOW_EXTERNAL_ENTITY
The feature that controls handling of references to external general parsed entities.
See Also:
XmlItem.START_ENTITY, XmlItem.END_ENTITY

SHOW_INTERNAL_ENTITY

public static final XmlFeature SHOW_INTERNAL_ENTITY
The feature that controls handling of references to internal general parsed entities. This does not affect references to the 5 builtin entities.
See Also:
XmlItem.START_ENTITY, XmlItem.END_ENTITY

SHOW_UNEXPANDED_ENTITY_REFERENCE

public static final XmlFeature SHOW_UNEXPANDED_ENTITY_REFERENCE
The feature that controls handling of unexpanded entity references.
See Also:
XmlItem.UNEXPANDED_ENTITY_REFERENCE

SHOW_BUILTIN_ENTITY_REFERENCE

public static final XmlFeature SHOW_BUILTIN_ENTITY_REFERENCE
The feature that controls handling of references to the 5 builtin entities.
See Also:
XmlItem.BUILTIN_ENTITY_REFERENCE

SHOW_CHARACTER_REFERENCE

public static final XmlFeature SHOW_CHARACTER_REFERENCE
The feature that controls handling of character references.
See Also:
XmlItem.CHARACTER_REFERENCE

SHOW_DOCUMENT_TYPE

public static final XmlFeature SHOW_DOCUMENT_TYPE
The feature that controls handling of the document type declaration.
See Also:
XmlItem.DOCUMENT_TYPE

SHOW_TOP_LEVEL_WHITESPACE

public static final XmlFeature SHOW_TOP_LEVEL_WHITESPACE
The feature that controls handling of top-level whitespace.
See Also:
XmlItem.TOP_LEVEL_WHITESPACE

ALLOW_SPLIT_TEXT

public static final XmlFeature ALLOW_SPLIT_TEXT

PRESERVE_ATTRIBUTE_ORDER

public static final XmlFeature PRESERVE_ATTRIBUTE_ORDER

SKIP_EXTERNAL_GENERAL_ENTITIES

public static final XmlFeature SKIP_EXTERNAL_GENERAL_ENTITIES

SKIP_PARAMETER_ENTITIES

public static final XmlFeature SKIP_PARAMETER_ENTITIES

SKIP_PARAMETER_ENTITIES_IF_STANDALONE

public static final XmlFeature SKIP_PARAMETER_ENTITIES_IF_STANDALONE

VALIDATE

public static final XmlFeature VALIDATE
The feature that controls XML 1.0 validation. If this feature is present, then XML 1.0 validation is performed. This feature does not imply schema validation. This feature is inconsistent with the SKIP_PARAMETER_ENTITIES, SKIP_PARAMETER_ENTITIES_IF_STANDALONE and SKIP_EXTERNAL_GENERAL_ENTITIES features.
Constructor Detail

XmlFeature

protected XmlFeature()
Method Detail

uriFeature

public static XmlFeature uriFeature(java.lang.String uri)