org.infinispan.configuration.as
Class ParserAS7
java.lang.Object
org.infinispan.configuration.as.ParserAS7
- All Implemented Interfaces:
- ConfigurationParser<ConfigurationBuilderHolder>, org.jboss.staxmapper.XMLElementReader<ConfigurationBuilderHolder>
public class ParserAS7
- extends Object
- implements ConfigurationParser<ConfigurationBuilderHolder>
This class implements the parser for AS7/EAP/JDG schema files
- Since:
- 5.2
- Author:
- Tristan Tarrant
Method Summary |
Namespace[] |
getSupportedNamespaces()
Returns an array of namespaces supported by this parser |
protected void |
parseCacheAttribute(org.jboss.staxmapper.XMLExtendedStreamReader reader,
int index,
Attribute attribute,
String value,
ConfigurationBuilder builder)
|
protected void |
parseCacheElement(org.jboss.staxmapper.XMLExtendedStreamReader reader,
Element element,
ConfigurationBuilderHolder holder)
|
protected void |
parseCustomStore(org.jboss.staxmapper.XMLExtendedStreamReader reader,
LegacyStoreConfigurationBuilder builder)
|
protected void |
parseEviction(org.jboss.staxmapper.XMLExtendedStreamReader reader,
ConfigurationBuilder builder)
|
protected void |
parseFileStore(org.jboss.staxmapper.XMLExtendedStreamReader reader,
FileCacheStoreConfigurationBuilder storeBuilder)
|
protected void |
parseLocking(org.jboss.staxmapper.XMLExtendedStreamReader reader,
ConfigurationBuilder builder)
|
static void |
parseStoreAttribute(org.jboss.staxmapper.XMLExtendedStreamReader reader,
int index,
CacheStoreConfigurationBuilder<?,?> storeBuilder)
|
static void |
parseStoreElement(org.jboss.staxmapper.XMLExtendedStreamReader reader,
CacheStoreConfigurationBuilder<?,?> storeBuilder)
|
static void |
parseStoreProperty(org.jboss.staxmapper.XMLExtendedStreamReader reader,
CacheStoreConfigurationBuilder<?,?> storeBuilder)
|
static void |
parseStoreWriteBehind(org.jboss.staxmapper.XMLExtendedStreamReader reader,
AsyncStoreConfigurationBuilder storeBuilder)
|
protected void |
parseTransaction(org.jboss.staxmapper.XMLExtendedStreamReader reader,
ConfigurationBuilder builder)
|
void |
readElement(org.jboss.staxmapper.XMLExtendedStreamReader reader,
ConfigurationBuilderHolder holder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URN_JBOSS_DOMAIN
public static final String URN_JBOSS_DOMAIN
- See Also:
- Constant Field Values
URN_JBOSS_DOMAIN_INFINISPAN
public static final String URN_JBOSS_DOMAIN_INFINISPAN
- See Also:
- Constant Field Values
ParserAS7
public ParserAS7()
getSupportedNamespaces
public Namespace[] getSupportedNamespaces()
- Description copied from interface:
ConfigurationParser
- Returns an array of namespaces supported by this parser
- Specified by:
getSupportedNamespaces
in interface ConfigurationParser<ConfigurationBuilderHolder>
- Returns:
- array of supported namespaces
readElement
public void readElement(org.jboss.staxmapper.XMLExtendedStreamReader reader,
ConfigurationBuilderHolder holder)
throws XMLStreamException
- Specified by:
readElement
in interface org.jboss.staxmapper.XMLElementReader<ConfigurationBuilderHolder>
- Throws:
XMLStreamException
parseCacheAttribute
protected void parseCacheAttribute(org.jboss.staxmapper.XMLExtendedStreamReader reader,
int index,
Attribute attribute,
String value,
ConfigurationBuilder builder)
throws XMLStreamException
- Throws:
XMLStreamException
parseCacheElement
protected void parseCacheElement(org.jboss.staxmapper.XMLExtendedStreamReader reader,
Element element,
ConfigurationBuilderHolder holder)
throws XMLStreamException
- Throws:
XMLStreamException
parseLocking
protected void parseLocking(org.jboss.staxmapper.XMLExtendedStreamReader reader,
ConfigurationBuilder builder)
throws XMLStreamException
- Throws:
XMLStreamException
parseTransaction
protected void parseTransaction(org.jboss.staxmapper.XMLExtendedStreamReader reader,
ConfigurationBuilder builder)
throws XMLStreamException
- Throws:
XMLStreamException
parseEviction
protected void parseEviction(org.jboss.staxmapper.XMLExtendedStreamReader reader,
ConfigurationBuilder builder)
throws XMLStreamException
- Throws:
XMLStreamException
parseCustomStore
protected void parseCustomStore(org.jboss.staxmapper.XMLExtendedStreamReader reader,
LegacyStoreConfigurationBuilder builder)
throws XMLStreamException
- Throws:
XMLStreamException
parseFileStore
protected void parseFileStore(org.jboss.staxmapper.XMLExtendedStreamReader reader,
FileCacheStoreConfigurationBuilder storeBuilder)
throws XMLStreamException
- Throws:
XMLStreamException
parseStoreAttribute
public static void parseStoreAttribute(org.jboss.staxmapper.XMLExtendedStreamReader reader,
int index,
CacheStoreConfigurationBuilder<?,?> storeBuilder)
throws XMLStreamException
- Throws:
XMLStreamException
parseStoreElement
public static void parseStoreElement(org.jboss.staxmapper.XMLExtendedStreamReader reader,
CacheStoreConfigurationBuilder<?,?> storeBuilder)
throws XMLStreamException
- Throws:
XMLStreamException
parseStoreWriteBehind
public static void parseStoreWriteBehind(org.jboss.staxmapper.XMLExtendedStreamReader reader,
AsyncStoreConfigurationBuilder storeBuilder)
throws XMLStreamException
- Throws:
XMLStreamException
parseStoreProperty
public static void parseStoreProperty(org.jboss.staxmapper.XMLExtendedStreamReader reader,
CacheStoreConfigurationBuilder<?,?> storeBuilder)
throws XMLStreamException
- Throws:
XMLStreamException
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.