|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.dm.annotation.plugin.bnd.EntryWriter
public class EntryWriter
This class encodes a component descriptor entry line, using json.
Constructor Summary | |
---|---|
EntryWriter(EntryType type)
Makes a new component descriptor entry. |
Method Summary | |
---|---|
void |
put(EntryParam param,
String value)
Put a String parameter in this descritor entry. |
void |
put(EntryParam param,
String[] array)
Put a String[] parameter in this descriptor entry. |
void |
putClass(aQute.lib.osgi.Annotation annotation,
EntryParam param,
Object def)
Get a class attribute value from an annotation and write it into this descriptor entry. |
void |
putClassArray(aQute.lib.osgi.Annotation annotation,
EntryParam param,
Object def)
Get a class array attribute value from an annotation and write it into this descriptor entry. |
void |
putProperties(EntryParam param,
Put a Map parameter in the descriptor entry. |
void |
putString(aQute.lib.osgi.Annotation annotation,
EntryParam param,
String def)
Get a String attribute value from an annotation and write it into this descriptor entry. |
void |
putStringArray(aQute.lib.osgi.Annotation annotation,
EntryParam param,
String[] def)
Get a String array attribute value from an annotation and write it into this descriptor entry. |
String |
toString()
Returns a string representation for the given component descriptor entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntryWriter(EntryType type)
Method Detail |
---|
public String toString()
toString
in class Object
public void put(EntryParam param, String value)
public void put(EntryParam param, String[] array)
public void putProperties(EntryParam param,properties)
public void putString(aQute.lib.osgi.Annotation annotation, EntryParam param, String def)
public void putStringArray(aQute.lib.osgi.Annotation annotation, EntryParam param, String[] def)
public void putClass(aQute.lib.osgi.Annotation annotation, EntryParam param, Object def)
public void putClassArray(aQute.lib.osgi.Annotation annotation, EntryParam param, Object def)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |