org.jdom.Element objects.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private String | name
The element name |
| private transient Namespace | namespace
The element namespace |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ElementFilter(String
The name of the Element. name)Select only the Elements with the supplied name in any Namespace. |
| public | ElementFilter(Namespace
The namespace the Element lives in. namespace)Select only the Elements with the supplied Namespace. |
| public | ElementFilter(String
The name of the Element. name, Namespace The namespace the Element lives in. namespace)Select only the Elements with the supplied name and Namespace. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: whether the two filters are equalthe object to compare against obj)Overrides java. |
| public int | |
| public boolean | Returns: true if the objected matched a predfined
set of rules.The object to verify. obj)Implements org. |
| private void | |
| private void |
| CVS_ID | back to summary |
|---|---|
| private static final String CVS_ID | |
| name | back to summary |
|---|---|
| private String name The element name | |
| namespace | back to summary |
|---|---|
| private transient Namespace namespace The element namespace | |
| ElementFilter | back to summary |
|---|---|
| public ElementFilter() Select only the Elements. | |
| ElementFilter | back to summary |
|---|---|
| public ElementFilter(String name) Select only the Elements with the supplied name in any Namespace.
| |
| ElementFilter | back to summary |
|---|---|
| public ElementFilter(Namespace namespace) Select only the Elements with the supplied Namespace.
| |
| ElementFilter | back to summary |
|---|---|
| public ElementFilter(String name, Namespace namespace) Select only the Elements with the supplied name and Namespace. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Returns whether the two filters are equivalent (i.e. the matching names and namespace are equivalent).
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| matches | back to summary |
|---|---|
| public boolean matches(Object obj) Implements org. Check to see if the object matches a predefined set of rules.
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException | |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException | |