org.xwiki.velocity.internal.util
Class VelocityBlock
java.lang.Object
org.xwiki.velocity.internal.util.VelocityBlock
public class VelocityBlock
- extends java.lang.Object
A Velocity element (can be a velocity macro, variable, etc.).
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityBlock
public VelocityBlock(java.lang.String name,
VelocityBlock.VelocityType type)
- Parameters:
name - the name of the Velocity element (if, macro, ...).type - the type of the Velocity element.
getName
public java.lang.String getName()
- Returns:
- the name of the Velocity element (if, macro, ...).
setName
public void setName(java.lang.String name)
- Parameters:
name - the name of the Velocity element (if, macro, ...).
getType
public VelocityBlock.VelocityType getType()
- Returns:
- the type of the Velocity element.
setType
public void setType(VelocityBlock.VelocityType type)
- Parameters:
type - the type of the Velocity element.
Copyright © 2004-2011 XWiki. All Rights Reserved.