public class Parser60 extends Object implements ConfigurationParser
Constructor and Description |
---|
Parser60() |
Modifier and Type | Method and Description |
---|---|
static void |
parseAsyncStore(XMLExtendedStreamReader reader,
StoreConfigurationBuilder<?,?> storeBuilder) |
static void |
parseCommonLoaderChildren(XMLExtendedStreamReader reader,
StoreConfigurationBuilder<?,?> loaderBuilder) |
static void |
parseCommonStoreAttributes(XMLExtendedStreamReader reader,
StoreConfigurationBuilder builder,
String attributeName,
String value,
int i)
This method is public static so that it can be reused by custom cache store/loader configuration parsers
|
static void |
parseCommonStoreChildren(XMLExtendedStreamReader reader,
StoreConfigurationBuilder<?,?> storeBuilder) |
static Properties |
parseProperties(XMLExtendedStreamReader reader) |
static void |
parseSingletonStore(XMLExtendedStreamReader reader,
StoreConfigurationBuilder<?,?> storeBuilder) |
void |
readElement(XMLExtendedStreamReader reader,
ConfigurationBuilderHolder holder)
The entry point of a configuration parser which gets passed a
XMLExtendedStreamReader positioned at a root
element associated with the parser itself according to the registered mapping. |
public void readElement(XMLExtendedStreamReader reader, ConfigurationBuilderHolder holder) throws XMLStreamException
ConfigurationParser
XMLExtendedStreamReader
positioned at a root
element associated with the parser itself according to the registered mapping.readElement
in interface ConfigurationParser
reader
- the XML stream readerholder
- a holder object used by the parser to maintain stateXMLStreamException
public static void parseCommonStoreAttributes(XMLExtendedStreamReader reader, StoreConfigurationBuilder builder, String attributeName, String value, int i) throws XMLStreamException
XMLStreamException
public static void parseCommonLoaderChildren(XMLExtendedStreamReader reader, StoreConfigurationBuilder<?,?> loaderBuilder) throws XMLStreamException
XMLStreamException
public static void parseCommonStoreChildren(XMLExtendedStreamReader reader, StoreConfigurationBuilder<?,?> storeBuilder) throws XMLStreamException
XMLStreamException
public static void parseSingletonStore(XMLExtendedStreamReader reader, StoreConfigurationBuilder<?,?> storeBuilder) throws XMLStreamException
XMLStreamException
public static void parseAsyncStore(XMLExtendedStreamReader reader, StoreConfigurationBuilder<?,?> storeBuilder) throws XMLStreamException
XMLStreamException
public static Properties parseProperties(XMLExtendedStreamReader reader) throws XMLStreamException
XMLStreamException
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.