org.apache.velocity.anakia |
|
Java Source File Name | Type | Comment |
AnakiaElement.java | Class | A JDOM
Element that is tailored for Anakia needs. |
AnakiaJDOMFactory.java | Class | A customized JDOMFactory for Anakia that produces
AnakiaElement instances instead of ordinary JDOM
Element instances. |
AnakiaTask.java | Class | The purpose of this Ant Task is to allow you to use
Velocity as an XML transformation tool like XSLT is.
So, instead of using XSLT, you will be able to use this
class instead to do your transformations. |
Escape.java | Class | This class is for escaping CDATA sections. |
NodeList.java | Class | Provides a class for wrapping a list of JDOM objects primarily for use in template
engines and other kinds of text transformation tools.
It has a
NodeList.toString() method that will output the XML serialized form of the
nodes it contains - again focusing on template engine usage, as well as the
NodeList.selectNodes(String) method that helps selecting a different set of nodes
starting from the nodes in this list. |
OutputWrapper.java | Class | This class extends XMLOutputter in order to provide
a way to walk an Element tree into a String.
author: Jon S. |
TreeWalker.java | Class | This class allows you to walk a tree of JDOM Element objects.
It first walks the tree itself starting at the Element passed
into allElements() and stores each node of the tree
in a Vector which allElements() returns as a result of its
execution. |
XPathCache.java | Class | Provides a cache for XPath expressions. |
XPathTool.java | Class | This class adds an entrypoint into XPath functionality,
for Anakia.
All methods take a string XPath specification, along with
a context, and produces a resulting java.util.List.
The W3C XPath Specification (http://www.w3.org/TR/xpath) refers
to NodeSets repeatedly, but this implementation simply uses
java.util.List to hold all Nodes. |