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

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

public class EvictionElementParser
extends XmlParserBase

Knows how to parse the eviction xml element.

 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
EvictionElementParser()
           
EvictionElementParser(String coreNamespace)
           
 
Method Summary
 EvictionConfig parseEvictionElement(Element evictionElement)
           
static void parseEvictionPolicyConfig(Element element, EvictionAlgorithmConfig target)
           
 
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

EvictionElementParser

public EvictionElementParser()

EvictionElementParser

public EvictionElementParser(String coreNamespace)
Method Detail

parseEvictionElement

public EvictionConfig parseEvictionElement(Element evictionElement)

parseEvictionPolicyConfig

public static void parseEvictionPolicyConfig(Element element,
                                             EvictionAlgorithmConfig target)


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