Class SimpleNodeElement
- java.lang.Object
-
- net.sf.ehcache.config.generator.model.AbstractNodeElement
-
- 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 theAbstractNodeElementclass- Author:
- Abhishek Sanoujam
-
-
Field Summary
-
Fields inherited from class net.sf.ehcache.config.generator.model.AbstractNodeElement
attributes, children, innerContent, optional, parent
-
-
Constructor Summary
Constructors Constructor Description SimpleNodeElement(NodeElement parent, java.lang.String name)Constructor accepting the parent and name of this element
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()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
-
-
-
-
Constructor Detail
-
SimpleNodeElement
public SimpleNodeElement(NodeElement parent, java.lang.String name)
Constructor accepting the parent and name of this element- Parameters:
parent-name-
-
-
Method Detail
-
getName
public java.lang.String getName()
The name of the element- Specified by:
getNamein interfaceNodeElement- Specified by:
getNamein classAbstractNodeElement- Returns:
- Name of the element
-
-