Package | Description |
---|---|
net.sf.ehcache.config |
This package contains the cache configuration code.
|
net.sf.ehcache.config.generator.model |
This package contains utility classes encapsulating ideas of Elements and Attributes.
|
net.sf.ehcache.config.generator.model.elements |
This package contains utility classes encapsulating ideas of Elements and Attributes from the ehcache.xsd
|
Modifier and Type | Method and Description |
---|---|
NodeElement |
SearchAttribute.asConfigElement(NodeElement parent)
Create a generated config element node for this search attribute definition
|
Modifier and Type | Method and Description |
---|---|
NodeElement |
SearchAttribute.asConfigElement(NodeElement parent)
Create a generated config element node for this search attribute definition
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNodeElement
An abstract implementation of
NodeElement . |
class |
SimpleNodeElement
A concrete class extending the
AbstractNodeElement class |
Modifier and Type | Field and Description |
---|---|
protected NodeElement |
AbstractNodeElement.parent
The parent
|
Modifier and Type | Field and Description |
---|---|
protected List<NodeElement> |
AbstractNodeElement.children
List of child elements
|
Modifier and Type | Method and Description |
---|---|
NodeElement |
NodeElement.getParent()
Returns the parent of this element.
|
NodeElement |
AbstractNodeElement.getParent()
Returns the parent of this element.
|
Modifier and Type | Method and Description |
---|---|
List<NodeElement> |
NodeElement.getChildElements()
Returns the list of child elements.
|
List<NodeElement> |
AbstractNodeElement.getChildElements()
Returns the list of child elements.
|
Modifier and Type | Method and Description |
---|---|
static void |
AbstractNodeElement.addAllFactoryConfigsAsChildElements(NodeElement element,
String name,
Collection<? extends FactoryConfiguration> factoryConfigurations)
Helper method that adds all the
FactoryConfiguration from the parameter as child elements by creating
FactoryConfigurationElement for each of them |
void |
NodeElement.addChildElement(NodeElement childElement)
Adds a child element.
|
void |
AbstractNodeElement.addChildElement(NodeElement childElement)
Adds a child element.
|
protected void |
XMLGeneratorVisitor.endAttributes(NodeElement element)
Finish visiting attributes of the element.
|
protected void |
AbstractDepthFirstVisitor.endAttributes(NodeElement element)
Finish visiting attributes of the element.
|
protected void |
XMLGeneratorVisitor.endChildren(NodeElement element)
Finish visiting children of the element.
|
protected void |
AbstractDepthFirstVisitor.endChildren(NodeElement element)
Finish visiting children of the element.
|
protected void |
XMLGeneratorVisitor.endElement(NodeElement element)
Finish visiting the element.
|
protected void |
AbstractDepthFirstVisitor.endElement(NodeElement element)
Finish visiting the element.
|
static List<FactoryConfigurationElement> |
AbstractNodeElement.getAllFactoryElements(NodeElement parent,
String name,
Collection<? extends FactoryConfiguration> factoryConfigurations)
Helper method that creates
FactoryConfigurationElement 's from a collection of FactoryConfiguration 's |
protected void |
XMLGeneratorVisitor.startAttributes(NodeElement element)
Starts visiting the attributes of the element.
|
protected void |
AbstractDepthFirstVisitor.startAttributes(NodeElement element)
Starts visiting the attributes of the element.
|
protected void |
XMLGeneratorVisitor.startChildren(NodeElement element)
Starts visiting children of the element.
|
protected void |
AbstractDepthFirstVisitor.startChildren(NodeElement element)
Starts visiting children of the element.
|
protected void |
XMLGeneratorVisitor.startElement(NodeElement element)
Starts visiting an element.
|
protected void |
AbstractDepthFirstVisitor.startElement(NodeElement element)
Starts visiting an element.
|
void |
NodeElementVisitor.visit(NodeElement element)
Visit the element
|
void |
AbstractDepthFirstVisitor.visit(NodeElement element)
Visit the element
|
protected void |
XMLGeneratorVisitor.visitAttribute(NodeElement element,
NodeAttribute attribute)
Visits an attribute.
|
protected void |
XMLGeneratorVisitor.visitAttributes(NodeElement element,
List<NodeAttribute> attributes)
Visits the attributes of the element.
|
protected void |
AbstractDepthFirstVisitor.visitAttributes(NodeElement element,
List<NodeAttribute> attributes)
Visits the attributes of the element.
|
protected void |
XMLGeneratorVisitor.visitElement(NodeElement element)
Visits the element.
|
protected void |
AbstractDepthFirstVisitor.visitElement(NodeElement element)
Visits the element.
|
Constructor and Description |
---|
AbstractNodeElement(NodeElement parent)
Constructor accepting the parent of this element
|
SimpleNodeElement(NodeElement parent,
String name)
Constructor accepting the parent and name of this element
|
Modifier and Type | Method and Description |
---|---|
static void |
CacheConfigurationElement.addCommonAttributesWithDefaultCache(NodeElement element,
Configuration configuration,
CacheConfiguration cacheConfiguration)
Adds all attributes which are common with the "defaultCache" element in ehcache.xsd
|
static void |
CacheConfigurationElement.addCommonChildElementsWithDefaultCache(NodeElement element,
CacheConfiguration cacheConfiguration)
Adds all common child elements with the "defaultCache" element in ehcache.xsd
|
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.