org.apache.felix.ipojo.manipulation
Class Manipulator

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

public class Manipulator
extends Object

iPOJO Byte code Manipulator.

Author:
Felix Project Team

Constructor Summary
Manipulator()
           
 
Method Summary
 Map<String,String> getFields()
           
 List<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 IOException
Manipulate the given byte array.

Parameters:
origin - : original class.
Returns:
the manipulated class, if the class is already manipulated, the original class.
Throws:
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 Map<String,String> getFields()

getInnerClasses

public List<String> getInnerClasses()


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.