Examples of ClassInformation


Examples of project.gluebooster.objectanalysis.ClassInformation

   * @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

Examples of project.gluebooster.objectanalysis.ClassInformation

   * @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

Examples of project.gluebooster.objectanalysis.ClassInformation

  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

Examples of project.gluebooster.objectanalysis.ClassInformation

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

Examples of project.gluebooster.objectanalysis.ClassInformation

  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

Examples of project.gluebooster.objectanalysis.ClassInformation

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

Examples of project.gluebooster.objectanalysis.ClassInformation

   * @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

Examples of project.gluebooster.objectanalysis.ClassInformation

    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

Examples of project.gluebooster.objectanalysis.ClassInformation

 
  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

Examples of project.gluebooster.objectanalysis.ClassInformation

  public final ClassInformation getSourceClass()
  {
    GenericsInformation details = getGenericsInformation(TransformerWithException.class)
    if (details == null )
      return new ClassInformation( getMethodFirstParameterClass(TRANSFORM));
    else
      return details.get(0);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.