NetCharts Server

chartworks.es.plugin.nds
Class ParamInfoFactory

java.lang.Object
  |
  +--chartworks.es.plugin.nds.ParamInfoFactory

public class ParamInfoFactory
extends java.lang.Object

This Factory knows how to create a suitable ParamInfo instance according the the information passed in. All knowledge of which ParamInfo instance should be used should be contained in this factory. Two methods work in tandem: createParamInfo() creates a ParamInfo to represent a CDL paramenter, based on the param data passed in. createCDLParamWriter() creates the appropriate CDLParamWriter for a given ParamInfo instance. In this way the caller doesn't have to know details about the CDL parameters, nor how to write the CDL. The caller obtains a ParamInfo and later gets a CDLParamWriter that will output suitable CDL for the given ParamInfo and the data.

Since:
4.6

Constructor Summary
ParamInfoFactory()
           
 
Method Summary
static CDLParamWriter createCDLParamWriter(java.lang.String parameterName, ParamInfo paramInfo)
          Creates a suitable CDLParamWriter to write the CDL Param specified by the parameter name and the ParamInfo.
static ParamInfo createParamInfo(java.util.Hashtable params)
          Create a suitable ParamInfo instance for the data in the params Hashtable.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamInfoFactory

public ParamInfoFactory()
Method Detail

createParamInfo

public static ParamInfo createParamInfo(java.util.Hashtable params)
Create a suitable ParamInfo instance for the data in the params Hashtable. The following Hashtable keys are expected to have value of String "true" or "false": "parameterHasTuples" "parameterIsQuoted" "parameterIsIndexed" "parameterDimensions" "parameterHasPoints" The following Hashtable keys are expected to have a String: "parameterName"

createCDLParamWriter

public static CDLParamWriter createCDLParamWriter(java.lang.String parameterName,
                                                  ParamInfo paramInfo)
Creates a suitable CDLParamWriter to write the CDL Param specified by the parameter name and the ParamInfo.
Parameters:
paramInfo -  
Returns:
 

NetCharts Server


Visual Mining, Inc.
15825 Shady Grove Rd.
Suite 20
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2006
All Rights Reserved.

NetCharts Server TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Nov 26, 2006