DocumentDescriptorpublic class DocumentDescriptor extends ElementDescriptor {@link DocumentDescriptor} describes the properties expected for an XML document node.
Compared to ElementDescriptor, {@link DocumentDescriptor} does not have XML name nor UI name,
tooltip, SDK url and attributes list.
It has a children list which represent all the possible roots of the document.
The document nodes are "mandatory", meaning the UI node is never deleted and it may lack
an actual XML node attached. |
Constructors Summary |
---|
public DocumentDescriptor(String xml_name, ElementDescriptor[] children)Constructs a new {@link DocumentDescriptor} based on its XML name and children list.
The UI name is build by capitalizing the XML name.
The UI nodes will be non-mandatory.
The XML name is never shown in the UI directly. It is however used when an icon
needs to be found for the node.
super(xml_name, children, true /* mandatory */);
|
|