286N/A * @version $Id: Constants.java,v 1.14 2010-11-01 04:39:40 joehw Exp $
286N/A public static final String SUN_SCHEMA_FEATURE_PREFIX = "http://java.sun.com/xml/schema/features/";
286N/A public static final String SUN_REPORT_IGNORED_ELEMENT_CONTENT_WHITESPACE = "report-ignored-element-content-whitespace";
286N/A public static final String ZEPHYR_PROPERTY_PREFIX = "http://java.sun.com/xml/stream/properties/" ;
286N/A public static final String READER_IN_DEFINED_STATE = ZEPHYR_PROPERTY_PREFIX + "reader-in-defined-state" ;
286N/A public static final String ADD_NAMESPACE_DECL_AS_ATTRIBUTE = "add-namespacedecl-as-attrbiute";
286N/A public static final String SUN_DOM_PROPERTY_PREFIX = "http://java.sun.com/xml/dom/properties/" ;
286N/A /** SAX feature prefix ("http://xml.org/sax/features/"). */
286N/A public static final String EXTERNAL_PARAMETER_ENTITIES_FEATURE = "external-parameter-entities";
286N/A /** Lexical handler parameter entities feature ("lexical-handler/parameter-entities"). */
286N/A public static final String LEXICAL_HANDLER_PARAMETER_ENTITIES_FEATURE = "lexical-handler/parameter-entities";
286N/A public static final String UNICODE_NORMALIZATION_CHECKING_FEATURE = "unicode-normalization-checking";
286N/A /** Allow unparsed entity and notation declaration events to be sent after the end DTD event ("allow-dtd-events-after-endDTD") */
286N/A public static final String ALLOW_DTD_EVENTS_AFTER_ENDDTD_FEATURE = "allow-dtd-events-after-endDTD";
286N/A /** SAX property prefix ("http://xml.org/sax/properties/"). */
286N/A public static final String FEATURE_SECURE_PROCESSING = "http://javax.xml.XMLConstants/feature/secure-processing";
286N/A public static final String ORACLE_FEATURE_SERVICE_MECHANISM = "http://www.oracle.com/feature/use-service-mechanism";
286N/A /** JAXP property prefix ("http://java.sun.com/xml/jaxp/properties/"). */
286N/A public static final String SYSTEM_PROPERTY_ELEMENT_ATTRIBUTE_LIMIT = "elementAttributeLimit" ;
559N/A /** JAXP Standard property prefix ("http://javax.xml.XMLConstants/property/"). */
559N/A /** Oracle JAXP property prefix ("http://www.oracle.com/xml/jaxp/properties/"). */
286N/A public static final String DOM_IGNORE_UNKNOWN_CHARACTER_DENORMALIZATIONS = "ignore-unknown-character-denormalizations";
286N/A /** Xerces features prefix ("http://apache.org/xml/features/"). */
286N/A /** Schema validation feature ("validation/schema"). */
286N/A /** Schema full constraint checking ("validation/schema-full-checking"). */
286N/A /** Dynamic validation feature ("validation/dynamic"). */
286N/A /** Warn on duplicate attribute declaration feature ("validation/warn-on-duplicate-attdef"). */
286N/A public static final String WARN_ON_DUPLICATE_ATTDEF_FEATURE = "validation/warn-on-duplicate-attdef";
286N/A /** Warn on undeclared element feature ("validation/warn-on-undeclared-elemdef"). */
286N/A public static final String WARN_ON_UNDECLARED_ELEMDEF_FEATURE = "validation/warn-on-undeclared-elemdef";
286N/A public static final String WARN_ON_DUPLICATE_ENTITYDEF_FEATURE = "warn-on-duplicate-entitydef";
286N/A public static final String CONTINUE_AFTER_FATAL_ERROR_FEATURE = "continue-after-fatal-error";
286N/A /** Load dtd grammar when nonvalidating feature ("nonvalidating/load-dtd-grammar"). */
286N/A /** Load external dtd when nonvalidating feature ("nonvalidating/load-external-dtd"). */
286N/A /** Defer node expansion feature ("dom/defer-node-expansion"). */
286N/A /** Create entity reference nodes feature ("dom/create-entity-ref-nodes"). */
286N/A /** Include ignorable whitespace feature ("dom/include-ignorable-whitespace"). */
286N/A public static final String INCLUDE_IGNORABLE_WHITESPACE = "dom/include-ignorable-whitespace";
286N/A /** Default attribute values feature ("validation/default-attribute-values"). */
286N/A public static final String DEFAULT_ATTRIBUTE_VALUES_FEATURE = "validation/default-attribute-values";
286N/A /** Validate content models feature ("validation/validate-content-models"). */
286N/A public static final String VALIDATE_CONTENT_MODELS_FEATURE = "validation/validate-content-models";
286N/A /** Validate datatypes feature ("validation/validate-datatypes"). */
286N/A /** Balance syntax trees feature ("validation/balance-syntax-trees"). */
286N/A /** Notify character references feature (scanner/notify-char-refs"). */
286N/A /** Notify built-in (&, etc.) references feature (scanner/notify-builtin-refs"). */
286N/A public static final String GENERATE_SYNTHETIC_ANNOTATIONS_FEATURE = "generate-synthetic-annotations";
286N/A public static final String HONOUR_ALL_SCHEMALOCATIONS_FEATURE = "honour-all-schemaLocations";
286N/A /** Tolerate duplicates feature ("internal/tolerate-duplicates"). */
286N/A /** XInclude fixup base URIs feature ("xinclude/fixup-base-uris"). */
286N/A /** XInclude fixup language feature ("xinclude/fixup-language"). */
286N/A public static final String USE_GRAMMAR_POOL_ONLY_FEATURE = "internal/validation/schema/use-grammar-pool-only";
286N/A * false - the parser settings (features/properties) have not changed between 2 parses
286N/A public static final String IGNORE_SCHEMA_LOCATION_HINTS = "validation/schema/ignore-schema-location-hints";
286N/A /** Xerces properties prefix ("http://apache.org/xml/properties/"). */
286N/A /** Current element node property ("dom/current-element-node"). */
286N/A /** Document class name property ("dom/document-class-name"). */
286N/A /** Symbol table property ("internal/symbol-table"). */
286N/A /** Error reporter property ("internal/error-reporter"). */
286N/A /** Error handler property ("internal/error-handler"). */
286N/A /** XInclude handler property ("internal/xinclude-handler"). */
286N/A /** XPointer handler property ("internal/xpointer-handler"). */
286N/A /** Entity manager property ("internal/entity-manager"). */
286N/A /** Grammar pool property ("internal/grammar-pool"). */
286N/A /** Datatype validator factory ("internal/datatype-validator-factory"). */
286N/A public static final String DATATYPE_VALIDATOR_FACTORY_PROPERTY = "internal/datatype-validator-factory";
286N/A /** Document scanner property ("internal/document-scanner"). */
286N/A /** DTD scanner property ("internal/dtd-scanner"). */
286N/A /** DTD processor property ("internal/dtd-processor"). */
286N/A /** No namespace schema location property ("schema/external-schemaLocation"). */
286N/A /** Schema location property ("schema/external-noNamespaceSchemaLocation"). */
286N/A public static final String SCHEMA_NONS_LOCATION = "schema/external-noNamespaceSchemaLocation";
286N/A /** Namespace binder property ("internal/namespace-binder"). */
286N/A /** Namespace context property ("internal/namespace-context"). */
286N/A /** Validation manager property ("internal/validation-manager"). */
286N/A /** Schema element declaration for the root element in a document ("internal/validation/schema/dv-factory"). */
286N/A public static final String SCHEMA_DV_FACTORY_PROPERTY = "internal/validation/schema/dv-factory";
286N/A * This will ultimately controls {@link com.sun.org.apache.xerces.internal.parsers.AbstractDOMParser}
286N/A * This will ultimately controls {@link com.sun.org.apache.xerces.internal.parsers.AbstractDOMParser}
286N/A *@see com.sun.org.apache.xerces.internal.impl.XMLEntityManager#endEntity()
286N/A *@see com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl#endEntity()
286N/A *@see com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl#endEntity()
559N/A * to all protocols. When {@link javax.xml.XMLConstants#FEATURE_SECURE_PROCESSING} is on,
559N/A * {@link javax.xml.XMLConstants#FEATURE_SECURE_PROCESSING} is true, it should
559N/A * not change the default value. However, if {@link javax.xml.XMLConstants#FEATURE_SECURE_PROCESSING}
559N/A if (isSecureProcessing) {
559N/A return defaultValue;
286N/A implements Enumeration {
286N/A throw new NoSuchElementException();
286N/A /** Prints a list of features/properties. */