org.bibop.xml.xforge.parser.functions.utils
Class ArgumentConverter

java.lang.Object
  |
  +--org.bibop.xml.xforge.parser.functions.utils.ArgumentConverter

public class ArgumentConverter
extends java.lang.Object


Constructor Summary
ArgumentConverter()
           
 
Method Summary
static java.lang.Object convert(java.lang.Object obj, java.lang.Class target, java.lang.String encoding)
           
static java.lang.Object[] convert(java.util.Vector objs, java.lang.Class[] targets, java.lang.String encoding)
           
private static java.lang.Object dynamicClassCast(java.lang.Object obj, java.lang.Class target)
           
private static XForgeClass object2XForgeClass(java.lang.Object obj, java.lang.Class target)
           
private static java.lang.Object XForgeClass2Object(XForgeClass obj, java.lang.Class target, java.lang.String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgumentConverter

public ArgumentConverter()
Method Detail

convert

public static java.lang.Object[] convert(java.util.Vector objs,
                                         java.lang.Class[] targets,
                                         java.lang.String encoding)
                                  throws ArgumentTypeException,
                                         InternalParserError
ArgumentTypeException
InternalParserError

convert

public static java.lang.Object convert(java.lang.Object obj,
                                       java.lang.Class target,
                                       java.lang.String encoding)
                                throws ArgumentTypeException
ArgumentTypeException

XForgeClass2Object

private static java.lang.Object XForgeClass2Object(XForgeClass obj,
                                                   java.lang.Class target,
                                                   java.lang.String encoding)
                                            throws ArgumentTypeException
ArgumentTypeException

object2XForgeClass

private static XForgeClass object2XForgeClass(java.lang.Object obj,
                                              java.lang.Class target)
                                       throws ArgumentTypeException
ArgumentTypeException

dynamicClassCast

private static java.lang.Object dynamicClassCast(java.lang.Object obj,
                                                 java.lang.Class target)
                                          throws ArgumentTypeException
ArgumentTypeException


Copyright 2003 Bibop Research International. All Rights Reserved.