Package fmpp.models

Class JSONNullNode

  • All Implemented Interfaces:
    freemarker.template.AdapterTemplateModel, freemarker.template.TemplateModel, freemarker.template.TemplateNodeModel, java.io.Serializable

    public class JSONNullNode
    extends JSONNode
    JSON "null" value; see http://www.json.org/. Instances of this can only be found through traversing the FTL node tree (TemplateNodeModel tree), not as normal FTL sequence or FTL hash items.
    See Also:
    Serialized Form
    • Field Detail

      • DEFAULT_NODE_NAME

        public static final java.lang.String DEFAULT_NODE_NAME
    • Constructor Detail

      • JSONNullNode

        public JSONNullNode​(JSONNode parentNode,
                            java.lang.String nodeName)
    • Method Detail

      • getChildNodes

        public freemarker.template.TemplateSequenceModel getChildNodes()
                                                                throws freemarker.template.TemplateModelException
        Throws:
        freemarker.template.TemplateModelException
      • getNodeType

        public java.lang.String getNodeType()
                                     throws freemarker.template.TemplateModelException
        Throws:
        freemarker.template.TemplateModelException
      • getAdaptedObject

        public java.lang.Object getAdaptedObject​(java.lang.Class<?> hint)
        Returns the plain Java object wrapped into this node.
        Since:
        0.9.16