org.apache.velocity.anakia
public class AnakiaTask.Context extends java.lang.Object
Constructor and Description |
---|
AnakiaTask.Context()
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
org.jdom.Document |
getContextDocument()
Retrieve the context document object.
|
long |
getLastModified()
Retrieve the time the source file was last modified.
|
java.lang.String |
getName()
Get the name of the context.
|
void |
setFile(java.lang.String file)
Build the context based on a file path.
|
void |
setName(java.lang.String name)
Set the name of the context.
|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- java.lang.IllegalArgumentException
- if a reserved word is used as a
name, specifically any of "relativePath", "treeWalk", "xpath",
"escape", "date", or "project"public void setFile(java.lang.String file)
file
- public long getLastModified()
public org.jdom.Document getContextDocument()
Copyright © 2000-2014. All Rights Reserved.