com.a7soft.examxml
Class Element

java.lang.Object
  extended by com.a7soft.examxml.Element

public class Element
extends java.lang.Object

Represents an XML element in the JExamXML application.

This class encapsulates all XML values and XML attributes.


Method Summary
 boolean equals(java.lang.Object obj)
          Compares this Element to the specified object.
 int hashCode()
          Returns a hash code for this Element.
 java.lang.String toString()
          Returns a String object representing this Element object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object obj)
Compares this Element to the specified object. The result is true if and only if the argument is not null and is a Element object are equal.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object to compare this Element against.
Returns:
true if the Element are equal; false otherwise.

hashCode

public int hashCode()
Returns a hash code for this Element.

Overrides:
hashCode in class java.lang.Object
Returns:
int a hash code value for this object.

toString

public java.lang.String toString()
Returns a String object representing this Element object.

Overrides:
toString in class java.lang.Object
Returns:
String representation of this object.