net.jini.config
Class ConfigurationFile.ArrayConstructor

java.lang.Object
  extended by net.jini.config.ConfigurationFile.ParseNode
      extended by net.jini.config.ConfigurationFile.Call
          extended by net.jini.config.ConfigurationFile.ArrayConstructor
Enclosing class:
ConfigurationFile

private class ConfigurationFile.ArrayConstructor
extends ConfigurationFile.Call

Represents constructing and initializing a single dimensional array.


Field Summary
private  Class type
           
private  String typeName
           
 
Fields inherited from class net.jini.config.ConfigurationFile.Call
args
 
Fields inherited from class net.jini.config.ConfigurationFile.ParseNode
lineno, override
 
Constructor Summary
ConfigurationFile.ArrayConstructor(String typeName, ConfigurationFile.ParseNode[] args, int lineno)
           
 
Method Summary
(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)  Class resolve(ConfigurationFile.Entry inEntry)
          Calculates and returns the declared type of the parse node, as referred to by the specified entry.
 
Methods inherited from class net.jini.config.ConfigurationFile.Call
evalArgs, isConstant, resolveArgs
 
Methods inherited from class net.jini.config.ConfigurationFile.ParseNode
oops, oops, oops
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeName

private final String typeName

type

private Class type
Constructor Detail

ConfigurationFile.ArrayConstructor

ConfigurationFile.ArrayConstructor(String typeName,
                                   ConfigurationFile.ParseNode[] args,
                                   int lineno)
Method Detail

resolve

Class resolve(ConfigurationFile.Entry inEntry)
        throws ConfigurationException
Description copied from class: ConfigurationFile.ParseNode
Calculates and returns the declared type of the parse node, as referred to by the specified entry.

Specified by:
resolve in class ConfigurationFile.ParseNode
Throws:
ConfigurationException

eval

Object eval(Object data)
      throws ConfigurationException
Description copied from class: ConfigurationFile.ParseNode
Returns the result of evaluating the parse node with the specified data provided by the call to getEntry.

Specified by:
eval in class ConfigurationFile.ParseNode
Throws:
ConfigurationException


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.