Class BooleanValueTagListener

All Implemented Interfaces:
TagListener

public class BooleanValueTagListener extends SimpleValueTagListener
Translates tags holding boolean values. The default value is false although empty or missing text is translated into null
        <foo> true </foo> ... <code>true</code>
        <foo> false </foo> ... <code>false</code>
        <foo> bar </foo> ... <code>false</code>
        <foo/> ... <code>NULL</code>

        <foo value="true"/> ... <code>true</code>
        <foo value="false"/> ... <code>false</code>
        <foo value="bar"/> ... <code>false</code>
        <foo value=""/> ... <code>NULL</code>