public class ManipulatedResultWriter extends Object implements ManipulationResultVisitor
Constructor and Description |
---|
ManipulatedResultWriter(org.apache.felix.ipojo.metadata.Element component) |
Modifier and Type | Method and Description |
---|---|
Map<String,byte[]> |
getResources() |
void |
visitClassStructure(org.apache.felix.ipojo.metadata.Element structure)
Called once per visitor with the class' structure discovered during manipulation.
|
void |
visitEnd()
Called when all resources from this manipulation result have been processed.
|
void |
visitManipulatedResource(String type,
byte[] resource)
Accept a manipulated resource (main component class or inner classes).
|
public ManipulatedResultWriter(org.apache.felix.ipojo.metadata.Element component)
public void visitClassStructure(org.apache.felix.ipojo.metadata.Element structure)
ManipulationResultVisitor
visitClassStructure
in interface ManipulationResultVisitor
structure
- Component's structure (discovered during manipulation, not the data from metadata.xml)public void visitManipulatedResource(String type, byte[] resource)
ManipulationResultVisitor
visitManipulatedResource
in interface ManipulationResultVisitor
type
- type nameresource
- manipulated bytecodepublic void visitEnd()
ManipulationResultVisitor
visitEnd
in interface ManipulationResultVisitor
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.