public class JSONNullNode extends JSONNode
TemplateNodeModel
tree), not as normal FTL sequence or FTL hash items.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_NODE_NAME |
static java.lang.String |
NODE_TYPE |
Constructor and Description |
---|
JSONNullNode(JSONNode parentNode,
java.lang.String nodeName) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAdaptedObject(java.lang.Class<?> hint)
Returns the plain Java object wrapped into this node.
|
freemarker.template.TemplateSequenceModel |
getChildNodes() |
protected java.lang.String |
getDefaultNodeName()
Returns the name of the node if it has no explicit name.
|
java.lang.String |
getNodeType() |
getNodeName, getNodeNamespace, getParentNode, nodeTypeToDefaultNodeName, wrap, wrap
public static final java.lang.String NODE_TYPE
public static final java.lang.String DEFAULT_NODE_NAME
public JSONNullNode(JSONNode parentNode, java.lang.String nodeName)
public freemarker.template.TemplateSequenceModel getChildNodes() throws freemarker.template.TemplateModelException
freemarker.template.TemplateModelException
public java.lang.String getNodeType() throws freemarker.template.TemplateModelException
freemarker.template.TemplateModelException
protected java.lang.String getDefaultNodeName()
JSONNode
JSONNode.JSONNode(JSONNode, String)
constructor if its second argument is null
.getDefaultNodeName
in class JSONNode
JSONNode.nodeTypeToDefaultNodeName(String)
public java.lang.Object getAdaptedObject(java.lang.Class<?> hint)