Package project.gluebooster.objectanalysis

Examples of project.gluebooster.objectanalysis.ClassInformation


      setGenericsInformation( new GenericsInformation(TransformationContext.class, TransformationContext.class));
  }
 
  public void setObjectTransformerInformation( ClassInformation sourceclass, ClassInformation targetclass)
  {
    setGenericsInformation(new GenericsInformation( new ClassInformation( TransformationContext.class, sourceclass) ,
        new ClassInformation( TransformationContext.class, targetclass)));
   
  }
View Full Code Here


   * @param encrypt
   * @throws Exception
   */
  public InputStreamCrypter( String name, boolean encrypt) throws Exception
  {
    super(name, new ClassInformation( TransformationContext.class, InputStream.class), SecretKey.class, InputStream.class);
    this.encrypt = Boolean.valueOf(encrypt);
  }
View Full Code Here

   * @param name
   * @throws Exception
   */
  public OutputStreamEncrypter( String name) throws Exception
  {
    super(name, new ClassInformation( TransformationContext.class, OutputStream.class), SecretKey.class, OutputStream.class);
  }
View Full Code Here

  public ToTransformationContextTransformer(String name, ClassInformation objectclass)
      throws InvalidNameException {
    super(name);
    addGenericInformation(ToTransformationContextTransformer.class, new GenericsInformation( objectclass));
   
    ClassInformation targetClass = new ClassInformation( TransformationContext.class,  objectclass);
    setGenericsInformation(new GenericsInformation(objectclass, targetClass));
  
  }
View Full Code Here

extends TransformerWithException<TransformationContext<Objectclass>,Objectclass> {
  public FromTransformationContextTransformer( Class objectclass)
  throws InvalidNameException
  {
    this(null, new ClassInformation( objectclass));
  }
View Full Code Here

  public FromTransformationContextTransformer(String name, ClassInformation objectclass)
      throws InvalidNameException {
    super(name);
    addGenericInformation(FromTransformationContextTransformer.class, new GenericsInformation( objectclass));
   
    ClassInformation sourceClass = new ClassInformation( TransformationContext.class,  objectclass);
    setGenericsInformation(new GenericsInformation( sourceClass, objectclass));
  }
View Full Code Here

public class TestToTransformationContextTransformer extends TestCaseWithLog{

 
  public void testToString() throws Exception
  {
    ToTransformationContextTransformer transformer = new ToTransformationContextTransformer( new ClassInformation(Object.class));
   
    getLog().debug( transformer);
  }
View Full Code Here

   * @param name
   * @throws InvalidNameException
   */
  public ZipOutputStreamEntryWriter(String name) throws InvalidNameException
  {
    super(name, new ClassInformation( ZipOutputStream.class), ZipOutputStream.class, String.class /* entryname*/ );
  }
View Full Code Here

    for (Class parameter: sourceclasses )
      entries.put(parameter, null);
   
    GenericsInformation sourcetypes = new GenericsInformation( sourceclasses);
    sourcetypes.setTypeOneOf();
    ClassInformation sourceClassinfo = new ClassInformation ( TransformationContext.class, new GenericsInformation( new ClassInformation(Object.class, sourcetypes)));
   
    setGenericsInformation( new GenericsInformation(sourceClassinfo, targetClass));
  }
View Full Code Here

 
  public void setGenericsInformation( GenericsInformation sourceclass_resultclass)
  {
     addGenericInformation(TransformerWithInstanceCreation.class, sourceclass_resultclass);
    
     ClassInformation parentSource = new ClassInformation( TransformationContext.class,  new GenericsInformation( sourceclass_resultclass.get(0)));
     ClassInformation parentTarget = new ClassInformation( TransformationContext.class,  new GenericsInformation( sourceclass_resultclass.get(1)));

    
     super.setGenericsInformation( new GenericsInformation( parentSource, parentTarget));
    
    
View Full Code Here

TOP

Related Classes of project.gluebooster.objectanalysis.ClassInformation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.