ehcache

net.sf.ehcache.config.generator.model
Class SimpleNodeElement

java.lang.Object
  extended by net.sf.ehcache.config.generator.model.AbstractNodeElement
      extended by net.sf.ehcache.config.generator.model.SimpleNodeElement
All Implemented Interfaces:
NodeElement
Direct Known Subclasses:
CacheConfigurationElement, CacheWriterConfigurationElement, ConfigurationElement, CopyStrategyConfigurationElement, DefaultCacheConfigurationElement, DiskStoreConfigurationElement, ElementValueComparatorConfigurationElement, FactoryConfigurationElement, ManagementRESTServiceConfigurationElement, NonstopConfigurationElement, PersistenceConfigurationElement, PinningConfigurationElement, SearchableConfigurationElement, SizeOfPolicyConfigurationElement, TerracottaConfigConfigurationElement, TerracottaConfigurationElement, TimeoutBehaviorConfigurationElement

public class SimpleNodeElement
extends AbstractNodeElement

A concrete class extending the AbstractNodeElement class

Author:
Abhishek Sanoujam

Field Summary
 
Fields inherited from class net.sf.ehcache.config.generator.model.AbstractNodeElement
attributes, children, innerContent, optional, parent
 
Constructor Summary
SimpleNodeElement(NodeElement parent, String name)
          Constructor accepting the parent and name of this element
 
Method Summary
 String getName()
          The name of the element
 
Methods inherited from class net.sf.ehcache.config.generator.model.AbstractNodeElement
accept, addAllFactoryConfigsAsChildElements, addAttribute, addChildElement, equals, getAllFactoryElements, getAttributes, getChildElements, getFQName, getFQName, getInnerContent, getParent, hasChildren, hashCode, isOptional, setInnerContent, setOptional, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleNodeElement

public SimpleNodeElement(NodeElement parent,
                         String name)
Constructor accepting the parent and name of this element

Parameters:
parent -
name -
Method Detail

getName

public String getName()
The name of the element

Specified by:
getName in interface NodeElement
Specified by:
getName in class AbstractNodeElement
Returns:
Name of the element

ehcache

Copyright 2001-2017, Terracotta, Inc.