Uses of Class
org.infinispan.commons.configuration.io.ConfigurationReaderException
-
Uses of ConfigurationReaderException in org.infinispan.configuration.parsing
Modifier and TypeMethodDescriptionstatic ConfigurationReaderException
ParseUtils.duplicateAttribute
(ConfigurationReader reader, String name) Get an exception reporting that an attribute of a given name has already been declared in this scope.static ConfigurationReaderException
ParseUtils.duplicateNamedElement
(ConfigurationReader reader, String name) Get an exception reporting that an element of a given type and name has already been declared in this scope.static ConfigurationReaderException
ParseUtils.invalidAttributeValue
(ConfigurationReader reader, int index) Get an exception reporting an invalid XML attribute value.static ConfigurationReaderException
ParseUtils.missingRequired
(ConfigurationReader reader, Set<?> required) Get an exception reporting a missing, required XML attribute.static ConfigurationReaderException
ParseUtils.missingRequiredElement
(ConfigurationReader reader, Set<?> required) Get an exception reporting a missing, required XML child element.static ConfigurationReaderException
ParseUtils.unexpectedAttribute
(ConfigurationReader reader, int index) Get an exception reporting an unexpected XML attribute.static ConfigurationReaderException
ParseUtils.unexpectedAttribute
(ConfigurationReader reader, String name) Get an exception reporting an unexpected XML attribute.static ConfigurationReaderException
ParseUtils.unexpectedElement
(ConfigurationReader reader) Get an exception reporting an unexpected XML element.static ConfigurationReaderException
ParseUtils.unexpectedElement
(ConfigurationReader reader, String element) static <T extends Enum<T>>
ConfigurationReaderExceptionParseUtils.unexpectedElement
(ConfigurationReader reader, T element) static ConfigurationReaderException
ParseUtils.unexpectedEndElement
(ConfigurationReader reader) Get an exception reporting an unexpected end tag for an XML element.Modifier and TypeMethodDescriptionstatic Element
ParseUtils.nextElement
(ConfigurationReader reader) void
NamespaceMappingParser.parseAttribute
(ConfigurationReader reader, int i, ConfigurationBuilderHolder holder) Handle a namespaced attributevoid
ParserRegistry.parseAttribute
(ConfigurationReader reader, int i, ConfigurationBuilderHolder holder) void
NamespaceMappingParser.parseElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) Recursively parses the current element of an XML stream using an appropriateConfigurationParser
depending on the element's namespace.static boolean
ParseUtils.readBooleanAttributeElement
(ConfigurationReader reader, String attributeName) Read an element which contains only a single boolean attribute.static String
ParseUtils.readStringAttributeElement
(ConfigurationReader reader, String attributeName) Read an element which contains only a single string attribute.static String
ParseUtils.requireAttributeProperty
(ConfigurationReader reader, int i) static String[]
ParseUtils.requireAttributes
(ConfigurationReader reader, boolean replace, String... attributeNames) Require all the named attributes, returning their values in order.static String[]
ParseUtils.requireAttributes
(ConfigurationReader reader, Enum<?>... attributes) static String[]
ParseUtils.requireAttributes
(ConfigurationReader reader, String... attributeNames) static void
ParseUtils.requireNoAttributes
(ConfigurationReader reader) Checks that the current element has no attributes, throwing anConfigurationReaderException
if one is found.static void
ParseUtils.requireNoContent
(ConfigurationReader reader) Consumes the remainder of the current element, throwing anConfigurationReaderException
if it contains any child elements.static void
ParseUtils.requireNoNamespaceAttribute
(ConfigurationReader reader, int index) static String
ParseUtils.requireSingleAttribute
(ConfigurationReader reader, Enum<?> attribute) static String
ParseUtils.requireSingleAttribute
(ConfigurationReader reader, String attributeName) Require that the current element have only a single attribute with the given name.