private class ConfigurationFile.Cast extends ConfigurationFile.ParseNode
| Modifier and Type | Field and Description |
|---|---|
private ConfigurationFile.ParseNode |
arg |
private boolean |
isArray |
private Class |
type |
private String |
typeName |
lineno, override| Constructor and Description |
|---|
Cast(String typeName,
boolean isArray,
ConfigurationFile.ParseNode arg,
int lineno) |
| Modifier and Type | Method and Description |
|---|---|
(package private) Object |
eval(Object data)
Returns the result of evaluating the parse node with the specified
data provided by the call to getEntry.
|
(package private) boolean |
isConstant()
Returns true if the value is a constant.
|
(package private) <T> Class<T> |
resolve(ConfigurationFile.Entry inEntry)
Calculates and returns the declared type of the parse node, as
referred to by the specified entry.
|
oops, oops, oopsprivate final String typeName
private final boolean isArray
private final ConfigurationFile.ParseNode arg
private Class type
Cast(String typeName, boolean isArray, ConfigurationFile.ParseNode arg, int lineno)
<T> Class<T> resolve(ConfigurationFile.Entry inEntry) throws ConfigurationException
ConfigurationFile.ParseNoderesolve in class ConfigurationFile.ParseNodeConfigurationExceptionboolean isConstant()
throws ConfigurationException
ConfigurationFile.ParseNodeisConstant in class ConfigurationFile.ParseNodeConfigurationExceptionObject eval(Object data) throws ConfigurationException
ConfigurationFile.ParseNodeeval in class ConfigurationFile.ParseNodeConfigurationExceptionCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.