public class GeneralElement
extends java.util.Observable
GeneralElement
class represents a parent common for all elements like
Parameter
, Property
or Attribute
.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name
The name of the element
|
protected org.w3c.dom.Node |
node
The node associated with the element
|
Constructor and Description |
---|
GeneralElement()
Initializes a newly created empty
GeneralElement . |
GeneralElement(java.lang.String name)
Initializes a newly created empty
GeneralElement with the specified name. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName() |
org.w3c.dom.Node |
getNode() |
void |
setName(java.lang.String name) |
void |
setNode(org.w3c.dom.Node node) |
protected java.lang.String name
protected org.w3c.dom.Node node
public GeneralElement()
GeneralElement
.public GeneralElement(java.lang.String name)
GeneralElement
with the specified name. The
name
argument is the name of the element.name
- a name of the element.