Uses of Class
net.sourceforge.jparam.JParamException

Packages that use JParamException
net.sourceforge.jparam   
net.sourceforge.jparam.conversion   
net.sourceforge.jparam.conversion.converters   
net.sourceforge.jparam.conversion.creators   
net.sourceforge.jparam.output   
net.sourceforge.jparam.paramset   
net.sourceforge.jparam.parser   
net.sourceforge.jparam.typename   
 

Uses of JParamException in net.sourceforge.jparam
 

Methods in net.sourceforge.jparam that throw JParamException
static java.lang.Object JParam.parse(java.lang.String str)
          Parse the given string into the Java object it represents
static java.lang.Object JParam.readObject(java.io.InputStream in)
          Parse an Object from the given input stream
static void JParam.readValueSet(java.io.InputStream in, AssignmentListener listener)
          Read a set of values from the given stream, the notifyAssignemnt will be called for each assignment in the input stream, this shouldn't be a public interface, but since Java lacks the friend funcionality this has to be public for the ParamSet class to reference
static void JParam.writeObject(java.lang.Object obj, java.io.PrintStream out)
          Output the given object to the given PrintStream, the object's class and all of its internal members must be registered in JParam for this to work
static java.lang.String JParam.toString(java.lang.Object obj)
          Get the JParam string representation of the given Object, same restrictions like in writeObject
static void BasicRegistration.PrimitiveSerializers.serialize(java.util.LinkedList v, java.io.PrintStream out)
           
static void BasicRegistration.PrimitiveSerializers.serialize(java.util.ArrayList v, java.io.PrintStream out)
           
static void BasicRegistration.PrimitiveSerializers.serialize(java.util.List v, java.io.PrintStream out)
           
static void BasicRegistration.PrimitiveSerializers.serialize(java.util.HashMap m, java.io.PrintStream out)
           
static void BasicRegistration.PrimitiveSerializers.serialize(java.util.Map m, java.io.PrintStream out)
           
 

Uses of JParamException in net.sourceforge.jparam.conversion
 

Methods in net.sourceforge.jparam.conversion that throw JParamException
 java.lang.Object ConverterRegistry.convert(java.lang.Class targetType, java.lang.Object sourceObject)
          Convert the source object to the given target class, an exception is thrown either when there is no exception/exception is ambigous or when the conversion process itself failed
 

Uses of JParamException in net.sourceforge.jparam.conversion.converters
 

Methods in net.sourceforge.jparam.conversion.converters that throw JParamException
 java.lang.Object AbstractConverter.convert(java.lang.Object o)
           
 java.lang.Object PathConverter.internalConvert(java.lang.Object o)
           
 java.lang.Object IConverter.convert(java.lang.Object o)
          Perform the conversion of the given object to the expected target class, if for some reason the conversion fails (or if the source/target objects do not match the expected classes), an exception should be thrown
 

Uses of JParamException in net.sourceforge.jparam.conversion.creators
 

Methods in net.sourceforge.jparam.conversion.creators that throw JParamException
 java.lang.Object ICreator.create(java.lang.Object[] parameters)
          Returns an object of type getReturnClass using the given parameters as input
 java.lang.Object AbstractCreator.create(java.lang.Object[] parameters)
           
 java.lang.Object ObjectCreator.create(java.lang.Class bt, TreeNode[] paramNodes)
           
 

Uses of JParamException in net.sourceforge.jparam.output
 

Methods in net.sourceforge.jparam.output that throw JParamException
 void SerializeMethodSerializer.serialize(java.lang.Object obj, java.io.PrintStream out)
           
 ISerializer SerializerRegistry.getSerializer(java.lang.Object obj)
           
 void ISerializer.serialize(java.lang.Object obj, java.io.PrintStream out)
          Write the string representation of the given object into the given PrintStream
 void OutputMethodSerializer.serialize(java.lang.Object obj, java.io.PrintStream out)
           
 

Uses of JParamException in net.sourceforge.jparam.paramset
 

Subclasses of JParamException in net.sourceforge.jparam.paramset
(package private)  class MatchException
           
 

Methods in net.sourceforge.jparam.paramset that throw JParamException
 void Param.setValue(java.lang.Object value)
          Sets the parameter's current value.
 void Param.setDefaultValue(java.lang.Object defaultValue)
          Sets the parameter's default value.
 void ParamSet.addParam(Param param)
          Adds the given parameter to the set.
 void ParamSet.input(java.io.InputStream in)
          Reads values for all input parameter from given InputStream.
 void ParamSet.input(java.io.InputStream in, boolean check)
          Reads values for all input parameter from given InputStream.
 void ParamSet.input(java.lang.String[] args)
          Reads values for all input parameter from 'args'.
 void ParamSet.input(java.lang.String[] args, boolean check)
          Reads values for all input parameter from 'args'.
 void ParamSet.check()
          Checks that all parameters have values.
 void ParamSet.output()
          Writes all output parameters to outStream
 void ParamSet.output(java.io.PrintStream out)
          Writes all output parameters to given PrintStream.
 void ParamSet.notifyAssignment(java.lang.String name, TreeNode value)
          Called by parser for each assignemnt to value set.
 

Constructors in net.sourceforge.jparam.paramset that throw JParamException
Param(java.lang.String name_description, boolean isInput, boolean isOutput, java.lang.Object defaultValue, java.lang.Class typeBound)
          Creates a Param object with given attributes.
oParam(java.lang.String name_description, java.lang.Object defaultValue, java.lang.Class typeBound)
          Creates an output parameter with given attributes.
oParam(java.lang.String name_description, java.lang.Class typeBound)
           
oParam(java.lang.String name_description, java.lang.Object defaultValue)
          Same as other constructor, but has no staticBound (bounded by Object).
oParam(java.lang.String name_description)
          Same as other constructors, but has default, or staticBound (bounded by Object).
ioParam(java.lang.String name_description, java.lang.Object defaultValue, java.lang.Class typeBound)
          Creates an input/output parameter with given attributes.
ioParam(java.lang.String name_description, java.lang.Class typeBound)
           
ioParam(java.lang.String name_description, java.lang.Object defaultValue)
          Same as other constructor, but has no staticBound (bounded by Object).
ioParam(java.lang.String name_description)
          Same as other constructors, but has default, or staticBound (bounded by Object).
iParam(java.lang.String name_description, java.lang.Object defaultValue, java.lang.Class typeBound)
          Creates an input parameter with given attributes.
iParam(java.lang.String name_description, java.lang.Class typeBound)
           
iParam(java.lang.String name_description, java.lang.Object defaultValue)
          Same as other constructor, but has no staticBound (bounded by Object).
iParam(java.lang.String name_description)
          Same as other constructors, but has default, or staticBound (bounded by Object).
 

Uses of JParamException in net.sourceforge.jparam.parser
 

Methods in net.sourceforge.jparam.parser that throw JParamException
 java.lang.Object SimpleLeaf.getConstructedValue(java.lang.Class expectedType)
           
 ScalarConversionWeight CompositeTreeNode.getConversionWeight(java.lang.Class expectedTypeClass)
           
 java.lang.Object CompositeTreeNode.getConstructedValue(java.lang.Class expectedTypeClass)
           
 java.lang.Object VectorLeaf.getConstructedValue(java.lang.Class expectedType)
           
 void AssignmentListener.notifyAssignment(java.lang.String name, TreeNode value)
           
 java.lang.Object MapLeaf.getConstructedValue(java.lang.Class expectedType)
           
 java.lang.Object TreeNode.getConstructedValue(java.lang.Class expectedValueType)
           
 ScalarConversionWeight TreeNode.getConversionWeight(java.lang.Class expectedValueType)
           
 

Uses of JParamException in net.sourceforge.jparam.typename
 

Methods in net.sourceforge.jparam.typename that throw JParamException
 java.lang.Class TypeNameRegistry.getJavaType(java.lang.String _jparamTypeName)
          Return the Java Class represented by the given JParam type name All const, '*', '&' and template modifiers are ignored since they have no meaning in Java
 java.lang.String TypeNameRegistry.getJParamTypeName(java.lang.Class type)
          Get the JParam type name for the given Java Class
 



Copyright © 2004 SourceForge. All Rights Reserved.