public enum EXMLParserProperty extends Enum<EXMLParserProperty> implements IHasName
| Enum Constant and Description |
|---|
DOM_CURRENT_ELEMENT_NODE
The current DOM element node while parsing.
|
DOM_DOCUMENT_CLASS_NAME
The fully qualified name of the class implementing the org.w3c.dom.Document
interface.
|
GENERAL_EXTERNAL_NONAMESPACE_SCHEMALOCATION
This property allows the user to specify an XML Schema with no namespace.
|
GENERAL_EXTERNAL_SCHEMALOCATION
The XML Schema Recommendation explicitly states that the inclusion of
schemaLocation/noNamespaceSchemaLocation attributes is only a hint; it does
not mandate that these attributes must be used to locate schemas.
|
GENERAL_INPUT_BUFFER_SIZE
The size of the input buffer in the readers.
|
GENERAL_LOCALE
The locale to use for reporting errors and warnings.
|
GENERAL_ROOT_ELEMENT_DECLARATION
A QName or XSElementDeclaration object representing the top-level element
declaration used when validating the root element of a document or document
fragment (also known as the validation root).
|
GENERAL_ROOT_TYPE_DECLARATION
A QName or XSTypeDefinition object representing the top-level type
definition used when validating the root element of a document or document
fragment (also known as the validation root).
|
GENERAL_SECURITY_MANAGER
It is possible to create XML documents whose processing could result in the
use of all system resources.
|
GENERAL_XML_STRING
Get the string of characters associated with the current event.
|
SAX_DECLARATION_HANDLER
The handler for DTD declarations.
|
SAX_DOM_NODE
The DOM node currently being visited, if SAX is being used as a DOM
iterator.
|
SAX_LEXICAL_HANDLER
The handler for lexical parsing events.
|
SAX_XML_VERSION
A literal string describing the actual XML version of the document, such as
"1.0" or "1.1".
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(DocumentBuilderFactory aDocumentBuilderFactory,
Object aValue) |
void |
applyTo(XMLReader aParser,
Object aValue) |
static List<EXMLParserProperty> |
getAllPropertiesOfType(EXMLParserPropertyType ePropertyType) |
static EXMLParserProperty |
getFromNameOrNull(String sName) |
String |
getName() |
EXMLParserPropertyType |
getPropertyType() |
Class<?> |
getValueClass() |
String |
getValueClassName() |
static EXMLParserProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EXMLParserProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EXMLParserProperty GENERAL_XML_STRING
public static final EXMLParserProperty GENERAL_EXTERNAL_SCHEMALOCATION
public static final EXMLParserProperty GENERAL_EXTERNAL_NONAMESPACE_SCHEMALOCATION
public static final EXMLParserProperty GENERAL_ROOT_ELEMENT_DECLARATION
public static final EXMLParserProperty GENERAL_ROOT_TYPE_DECLARATION
public static final EXMLParserProperty GENERAL_INPUT_BUFFER_SIZE
public static final EXMLParserProperty GENERAL_LOCALE
public static final EXMLParserProperty GENERAL_SECURITY_MANAGER
public static final EXMLParserProperty DOM_CURRENT_ELEMENT_NODE
public static final EXMLParserProperty DOM_DOCUMENT_CLASS_NAME
public static final EXMLParserProperty SAX_DECLARATION_HANDLER
public static final EXMLParserProperty SAX_LEXICAL_HANDLER
public static final EXMLParserProperty SAX_DOM_NODE
public static final EXMLParserProperty SAX_XML_VERSION
public static EXMLParserProperty[] values()
for (EXMLParserProperty c : EXMLParserProperty.values()) System.out.println(c);
public static EXMLParserProperty valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is null@Nonnull public EXMLParserPropertyType getPropertyType()
public void applyTo(@Nonnull DocumentBuilderFactory aDocumentBuilderFactory, Object aValue)
@Nullable public static EXMLParserProperty getFromNameOrNull(@Nullable String sName)
@Nonnull @ReturnsMutableCopy public static List<EXMLParserProperty> getAllPropertiesOfType(@Nonnull EXMLParserPropertyType ePropertyType)
Copyright © 2006–2014 phloc systems. All rights reserved.