|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SAXFeatures
This interface contains constants for various SAX Features.
| Field Summary | |
|---|---|
static String |
EXTERNAL_GENERAL_ENTITIES
Reports whether this parser processes external general entities |
static String |
EXTERNAL_PARAMETER_ENTITIES
Reports whether this parser processes external parameter entities |
static String |
IS_STANDALONE
May be examined only during a parse, after the startDocument() callback has been completed; read-only. |
static String |
LEXICAL_HANDLER_PARAMETER_ENTITIES
A value of "true" indicates that the LexicalHandler will report the beginning and end of parameter entities. |
static String |
NAMESPACE_PREFIXES
A value of "true" indicates that XML qualified names (with prefixes) and attributes (including xmlns* attributes) will be available. |
static String |
NAMESPACES
A value of "true" indicates namespace URIs and unprefixed local names for element and attribute names will be available. |
static String |
RESOLVE_DTD_URIS
A value of "true" indicates that system IDs in declarations will be absolutized (relative to their base URIs) before reporting. |
static String |
STRING_INTERNING
Has a value of "true" if all XML names (for elements, prefixes, attributes, entities, notations, and local names), as well as Namespace URIs, will have been interned using java.lang.String.intern. |
static String |
UNICODE_NORMALIZATION_CHECKING
Controls whether the parser reports Unicode normalization errors as described in section 2.13 and Appendix B of the XML 1.1 Recommendation. |
static String |
USE_ATTRIBUTES2
Returns "true" if the Attributes objects passed by this parser in ContentHandler.startElement() implement the org.xml.sax.ext.Attributes2 interface. |
static String |
USE_ENTITY_RESOLVER2
Returns "true" if, when setEntityResolver is given an object implementing the org.xml.sax.ext.EntityResolver2 interface, those new methods will be used. |
static String |
USE_LOCATOR2
Returns "true" if the Locator objects passed by this parser in ContentHandler.setDocumentLocator() implement the org.xml.sax.ext.Locator2 interface. |
static String |
VALIDATION
Controls whether the parser is reporting all validity errors |
static String |
XML_1_1
Returns "true" if the parser supports both XML 1.1 and XML 1.0. |
static String |
XML_URIS
Controls whether, when the namespace-prefixes feature is set, the parser treats namespace declaration attributes as being in the http://www.w3.org/2000/xmlns/ namespace. |
| Field Detail |
|---|
static final String NAMESPACES
Default: true
Access: (parsing) read-only; (not parsing) read/write
Note: If the validation feature is set to true, then the document
must contain a grammar that supports the use of namespaces
static final String NAMESPACE_PREFIXES
Default: false
Access: (parsing) read-only; (not parsing) read/write
static final String VALIDATION
Default: false
Access: (parsing) read-only; (not parsing) read/write
Note: If this feature is set to true, the document must specify a grammar.
If this feature is set to false, the document may specify a grammar
and that grammar will be parsed but no validation of the document
contents will be performed.
static final String EXTERNAL_GENERAL_ENTITIES
Default:unspecified
Access: (parsing) read-only; (not parsing) read/write
Note: always true if validating
static final String EXTERNAL_PARAMETER_ENTITIES
Default:unspecified
Access: (parsing) read-only; (not parsing) read/write
Note: always true if validating
static final String IS_STANDALONE
Default:not-applicable
Access: (parsing) read-only; (not parsing) read/write
static final String LEXICAL_HANDLER_PARAMETER_ENTITIES
static final String RESOLVE_DTD_URIS
static final String STRING_INTERNING
Default:unspecified
Access: (parsing) read-only; (not parsing) read/write
static final String UNICODE_NORMALIZATION_CHECKING
static final String USE_ATTRIBUTES2
static final String USE_LOCATOR2
static final String USE_ENTITY_RESOLVER2
static final String XML_URIS
static final String XML_1_1
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||