|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.velocity.anakia.AnakiaTask.Context
public class AnakiaTask.Context
A context implementation that loads all values from an XML file.
Constructor Summary | |
---|---|
AnakiaTask.Context()
Public constructor. |
Method Summary | |
---|---|
Document |
getContextDocument()
Retrieve the context document object. |
long |
getLastModified()
Retrieve the time the source file was last modified. |
String |
getName()
Get the name of the context. |
void |
setFile(String file)
Build the context based on a file path. |
void |
setName(String name)
Set the name of the context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnakiaTask.Context()
Method Detail |
---|
public String getName()
public void setName(String name)
name
-
IllegalArgumentException
- if a reserved word is used as a
name, specifically any of "relativePath", "treeWalk", "xpath",
"escape", "date", or "project"public void setFile(String file)
file
- public long getLastModified()
public Document getContextDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |