public interface FwkXmlDtdInterface
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPLICATION_ELEM
The name of the application node element.
|
static java.lang.String |
COMMAND_ELEM
The name of the command node element.
|
static java.lang.String |
DECODER_PREFIX
The decoder prefix.
|
static java.lang.String |
DESCRIPTION_ELEM
The name of the description node element.
|
static java.lang.String |
DICTIONARY_ELEM
The name of the dictionary node element.
|
static java.lang.String |
ENCODER_PREFIX
The encoder prefix.
|
static java.lang.String |
ENTRY_ELEM
The name of the Map node element.
|
static java.lang.String |
FRAME_ELEM
The name of the frame node element.
|
static java.lang.String |
INSTANCEOF_ATTR
The name of the instanceof attribute.
|
static java.lang.String |
INTERPRETER_ATTR
The name of the interpreter attribute.
|
static java.lang.String |
MAP_ELEM
The name of the Map node element.
|
static java.lang.String |
NAME_ATTR
The name of the name attribute.
|
static java.lang.String |
OBJECT_ELEM
The name of the Object node element.
|
static java.lang.String |
PANEL_ELEM
The name of the panel node element.
|
static java.lang.String |
PROPERTY_ELEM
The name of the property node element.
|
static java.lang.String |
VALUE_ATTR
The name of the value attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String name,
java.lang.String attr)
Add attributes to element of the DTD.
|
void |
addAttributes(java.lang.String name,
FwkArrayInterface attrs)
Add attributes to element of the DTD.
|
void |
addElement(java.lang.String parent,
java.lang.String child)
Add an element hierarchy.
|
void |
addElementsOfNode(org.w3c.dom.Node node,
boolean recursive)
Add Element hierarchy.
|
boolean |
areAttributesDefinedFor(java.lang.String name)
Determine whether attributes are defined for given element.
|
java.lang.String |
toString(java.lang.String leading,
java.lang.String rootName)
Get the string presentation of the dtd.
|
static final java.lang.String PROPERTY_ELEM
static final java.lang.String COMMAND_ELEM
static final java.lang.String FRAME_ELEM
static final java.lang.String PANEL_ELEM
static final java.lang.String APPLICATION_ELEM
static final java.lang.String MAP_ELEM
static final java.lang.String DICTIONARY_ELEM
static final java.lang.String DESCRIPTION_ELEM
static final java.lang.String ENTRY_ELEM
static final java.lang.String OBJECT_ELEM
static final java.lang.String NAME_ATTR
static final java.lang.String VALUE_ATTR
static final java.lang.String INTERPRETER_ATTR
static final java.lang.String INSTANCEOF_ATTR
static final java.lang.String ENCODER_PREFIX
static final java.lang.String DECODER_PREFIX
void addElementsOfNode(org.w3c.dom.Node node, boolean recursive)
node
- The element node that should build the hierarchy in the DTD.recursive
- if true the whole subtree will be added.void addElement(java.lang.String parent, java.lang.String child)
parent
- The name of the parent.child
- The name of the child.void addAttributes(java.lang.String name, FwkArrayInterface attrs)
name
- the element name.attrs
- the attribute list.void addAttribute(java.lang.String name, java.lang.String attr)
name
- the element name.attr
- the attribute name.boolean areAttributesDefinedFor(java.lang.String name)
name
- the name of the element.java.lang.String toString(java.lang.String leading, java.lang.String rootName)
thge
- leading space string.rootName
- the name of the document root.