public enum EXMLParserProperty extends Enum<EXMLParserProperty> implements com.helger.commons.name.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.
|
JAXP_SCHEMA_LANGUAGE
The Schema language to be used.
|
JAXP_SCHEMA_SORUCE
Sets the location of the schema.
|
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(SchemaFactory aSchemaFactory,
Object aValue)
Apply this property safely onto the passed
SchemaFactory. |
void |
applyTo(Validator aValidator,
Object aValue)
Apply this property safely onto the passed
Validator. |
void |
applyTo(XMLReader aParser,
Object aValue) |
static com.helger.commons.collection.impl.ICommonsList<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 final EXMLParserProperty JAXP_SCHEMA_LANGUAGE
http://www.w3.org/2001/XMLSchema.public static final EXMLParserProperty JAXP_SCHEMA_SORUCE
InputStream object with the content of the
schema.InputSource object pointing to the schema.File object pointing to the schema file.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()
@Nonnull @Nonempty public String getName()
getName in interface com.helger.commons.name.IHasNamepublic void applyTo(@Nonnull DocumentBuilderFactory aDocumentBuilderFactory, Object aValue)
public void applyTo(@Nonnull SchemaFactory aSchemaFactory, Object aValue)
SchemaFactory. Only
properties of type EXMLParserPropertyType.GENERAL can be used with
this method.aSchemaFactory - The Schema factory to apply it onto. May not be null.aValue - The value to use. May be null depending on the context.public void applyTo(@Nonnull Validator aValidator, Object aValue)
Validator. Only
properties of type EXMLParserPropertyType.GENERAL can be used with
this method.aValidator - The Validator to apply it onto. May not be null.aValue - The value to use. May be null depending on the context.@Nullable public static EXMLParserProperty getFromNameOrNull(@Nullable String sName)
@Nonnull @ReturnsMutableCopy public static com.helger.commons.collection.impl.ICommonsList<EXMLParserProperty> getAllPropertiesOfType(@Nonnull EXMLParserPropertyType ePropertyType)
Copyright © 2014–2018 Philip Helger. All rights reserved.