org.infinispan.configuration.parsing
Class Parser51

java.lang.Object
  extended by org.infinispan.configuration.parsing.Parser51
All Implemented Interfaces:
ConfigurationParser<ConfigurationBuilderHolder>, org.jboss.staxmapper.XMLElementReader<ConfigurationBuilderHolder>

public class Parser51
extends Object
implements ConfigurationParser<ConfigurationBuilderHolder>

This class implements the parser for 5.1 schema files

Since:
5.1
Author:
Pete Muir, Tristan Tarrant

Constructor Summary
Parser51()
           
 
Method Summary
 Namespace[] getSupportedNamespaces()
          Returns an array of namespaces supported by this parser
static Properties parseProperties(XMLStreamReader reader)
           
 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
 

Constructor Detail

Parser51

public Parser51()
Method Detail

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

parseProperties

public static Properties parseProperties(XMLStreamReader reader)
                                  throws XMLStreamException
Throws:
XMLStreamException

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.