org.jboss.cache.config.parsing.element
Class CustomInterceptorsElementParser

java.lang.Object
  extended by org.jboss.cache.config.parsing.XmlParserBase
      extended by org.jboss.cache.config.parsing.element.CustomInterceptorsElementParser

public class CustomInterceptorsElementParser
extends XmlParserBase

Utility class for parsing 'buddy' element in the .xml configuration file.

 Note: class does not rely on element position in the configuration file.
       It does not rely on element's name either.
 

Since:
3.0
Author:
Mircea.Markus@jboss.com

Field Summary
 
Fields inherited from class org.jboss.cache.config.parsing.XmlParserBase
coreNamespace
 
Constructor Summary
CustomInterceptorsElementParser()
           
CustomInterceptorsElementParser(String coreNamespace)
           
 
Method Summary
 List<CustomInterceptorConfig> parseCustomInterceptors(Element element)
          Iterates within the given element looking for custom interceptors.
 
Methods inherited from class org.jboss.cache.config.parsing.XmlParserBase
assertNotLegacyElement, existsAttribute, getAttributeValue, getBoolean, getInt, getLong, getSingleElement, getSingleElementInCoreNS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomInterceptorsElementParser

public CustomInterceptorsElementParser()

CustomInterceptorsElementParser

public CustomInterceptorsElementParser(String coreNamespace)
Method Detail

parseCustomInterceptors

public List<CustomInterceptorConfig> parseCustomInterceptors(Element element)
Iterates within the given element looking for custom interceptors.

Parameters:
element - should not be null
Returns:
a list which might be empty, never null


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