|
||||||||||
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.MetaType
public class MetaType
Helper class used to generate an XML representation of a MetaType data structure.
Nested Class Summary | |
---|---|
static class |
MetaType.AD
An Attribute Definition, which describes a given Properties |
static class |
MetaType.Designate
A Designate element, which maps a PID to a given Object Class Definition. |
static class |
MetaType.OBject
A definition of an instance. |
static class |
MetaType.OCD
An Object Class Definition, which contains a set of Attributes properies. |
static class |
MetaType.Option
An Option datastructure, which can be associated with an Attribute. |
Constructor Summary | |
---|---|
MetaType()
|
Method Summary | |
---|---|
void |
add(MetaType.Designate designate)
Adds a Designate element, which maps a PID to an OCD. |
void |
add(MetaType.OCD ocd)
Adds an Object Class Definition into this meta type. |
int |
getSize()
Returns the number of OCD contained in this meta type. |
void |
writeTo(PrintWriter pw)
Generates an XML representation of this metatype. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetaType()
Method Detail |
---|
public void add(MetaType.OCD ocd)
ocd
- the Object Class Definition.public void add(MetaType.Designate designate)
designate
- the Designate element.public int getSize()
public void writeTo(PrintWriter pw)
pw
- a PrintWriter where the XML is written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |