public class HiddenFieldPositioner extends Object
MarkupWriterListener
interface to monitor elements as they are started and ended to find
a
place to put content.Constructor and Description |
---|
HiddenFieldPositioner(MarkupWriter writer,
HiddenFieldLocationRules rules) |
Modifier and Type | Method and Description |
---|---|
void |
discard()
Discard this positioner (an alternative to invoking
getElement() ). |
Element |
getElement()
Returns the hidden field element, which can have its attributes filled in.
|
public HiddenFieldPositioner(MarkupWriter writer, HiddenFieldLocationRules rules)
public Element getElement()
IllegalStateException
- if the element was not positionedpublic void discard()
getElement()
).
If an Element
has been created for the hidden field, that
element is removed.5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.