public interface IBaseXMLReaderSettings
| Modifier and Type | Method and Description |
|---|---|
Map<EXMLParserFeature,Boolean> |
getAllFeatureValues() |
Map<EXMLParserProperty,Object> |
getAllPropertyValues() |
EntityResolver |
getEntityResolver() |
ErrorHandler |
getErrorHandler() |
IExceptionCallback<Throwable> |
getExceptionHandler() |
Boolean |
getFeatureValue(EXMLParserFeature eFeature)
Get the value of the specified parser feature
|
Locale |
getLocale() |
Object |
getPropertyValue(EXMLParserProperty eProperty)
Get the value of the specified parser property
|
boolean |
hasAnyFeature() |
boolean |
hasAnyProperties() |
boolean |
requiresNewXMLParser()
Check if the current settings require a separate DOM
DocumentBuilderFactory/SAX
XMLReader object or if a pooled default object can be
used. |
boolean hasAnyProperties()
true if at least one parser property is defined@Nullable Object getPropertyValue(@Nullable EXMLParserProperty eProperty)
eProperty - The property to use. May be null.null if no such property was found.@Nonnull @ReturnsMutableCopy Map<EXMLParserProperty,Object> getAllPropertyValues()
null.@Nullable Locale getLocale()
null and therefore the XML parser will use the system
default locale.boolean hasAnyFeature()
true if at least one parser feature is defined,
false if not@Nullable Boolean getFeatureValue(@Nullable EXMLParserFeature eFeature)
eFeature - The feature to search. May be null.null if this feature is undefined.@Nonnull @ReturnsMutableCopy Map<EXMLParserFeature,Boolean> getAllFeatureValues()
@Nullable ErrorHandler getErrorHandler()
null if no
special error handler is needed.@Nullable EntityResolver getEntityResolver()
null.@Nonnull IExceptionCallback<Throwable> getExceptionHandler()
null.boolean requiresNewXMLParser()
DocumentBuilderFactory/SAX
XMLReader object or if a pooled default object can be
used.true if a separate parser object is required,
false if not.Copyright © 2014–2015 Philip Helger. All rights reserved.