public class ElementWriterStack extends Stack<ElementWriter>
capacityIncrement, elementCount, elementDatamodCount| Constructor and Description |
|---|
ElementWriterStack() |
| Modifier and Type | Method and Description |
|---|---|
ElementWriter |
pop()
The safePeek() method may have pushed some blank elements, so this method takes that into account.
|
ElementWriter |
safePeek()
The purpose of safePeek() is to prevent an EmptyStackException from being thrown due to a JSF component renderer
not playing by the rules, whereby startElement() should be called first before write().
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSizepublic ElementWriter pop()
pop in class Stack<ElementWriter>public ElementWriter safePeek()
Copyright © 2016 Liferay, Inc.. All rights reserved.