org.apache.felix.ipojo.manipulation
Class Manipulator

java.lang.Object
  extended by org.apache.felix.ipojo.manipulation.Manipulator

public class Manipulator
extends java.lang.Object

iPOJO Byte code Manipulator.

Author:
Felix Project Team

Constructor Summary
Manipulator()
           
 
Method Summary
 int getClassVersion()
           
 java.util.Map<java.lang.String,java.lang.String> getFields()
           
 java.util.List<java.lang.String> getInnerClasses()
           
 org.apache.felix.ipojo.metadata.Element getManipulationMetadata()
          Compute component type manipulation metadata.
 byte[] manipulate(byte[] origin)
          Manipulate the given byte array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Manipulator

public Manipulator()
Method Detail

manipulate

public byte[] manipulate(byte[] origin)
                  throws java.io.IOException
Manipulate the given byte array.

Parameters:
origin - : original class.
Returns:
the manipulated class, if the class is already manipulated, the original class.
Throws:
java.io.IOException - : if an error occurs during the manipulation.

getManipulationMetadata

public org.apache.felix.ipojo.metadata.Element getManipulationMetadata()
Compute component type manipulation metadata.

Returns:
the manipulation metadata of the class.

getFields

public java.util.Map<java.lang.String,java.lang.String> getFields()

getInnerClasses

public java.util.List<java.lang.String> getInnerClasses()

getClassVersion

public int getClassVersion()


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.