public class FormProcessorVisitor extends TagWriter
FormFieldResolver
on form fields.Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,MutableInteger> |
valueNameIndexes |
appendable
Constructor and Description |
---|
FormProcessorVisitor(java.lang.Appendable appendable,
FormFieldResolver resolver) |
Modifier and Type | Method and Description |
---|---|
void |
tag(Tag tag)
Invoked on
tag (open, close or empty). |
void |
text(java.lang.CharSequence text)
Invoked on text i.e. anything other than a tag.
|
protected java.lang.String |
valueToString(java.lang.String name,
java.lang.Object valueObject)
Converts value to a string.
|
protected java.util.Map<java.lang.String,MutableInteger> valueNameIndexes
public FormProcessorVisitor(java.lang.Appendable appendable, FormFieldResolver resolver)
public void tag(Tag tag)
TagVisitor
tag
(open, close or empty).
Warning: the passed tag instance should not be kept beyond this method as the parser reuse it!
tag
in interface TagVisitor
tag
in class TagWriter
public void text(java.lang.CharSequence text)
TagVisitor
text
in interface TagVisitor
text
in class TagWriter
protected java.lang.String valueToString(java.lang.String name, java.lang.Object valueObject)
Copyright © 2003-present Jodd Team