Liferay 7.0-ce-b4

com.liferay.portal.tools.seleniumbuilder
Class FreeMarkerStack

java.lang.Object
  extended by com.liferay.portal.tools.seleniumbuilder.FreeMarkerStack

public class FreeMarkerStack
extends Object

Provides methods for stack interaction in FreeMarker.


Constructor Summary
FreeMarkerStack()
           
 
Method Summary
 boolean empty()
          Returns true if the stack is empty.
 Object peek()
          Returns the object at the top of the stack, without removing it from the stack.
 Object pop()
          Returns the object at the top of the stack, removing it from the stack.
 Object push(Object object)
          Pushes the object onto the stack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeMarkerStack

public FreeMarkerStack()
Method Detail

empty

public boolean empty()
Returns true if the stack is empty.

Returns:
true if the stack is empty; false otherwise

peek

public Object peek()
Returns the object at the top of the stack, without removing it from the stack.

Returns:
the object at the top of the stack, without removing it from the stack

pop

public Object pop()
Returns the object at the top of the stack, removing it from the stack.

Returns:
the object at the top of the stack

push

public Object push(Object object)
Pushes the object onto the stack.

Parameters:
object - the item to be pushed onto the stack
Returns:
a blank string

Liferay 7.0-ce-b4