|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.votlint.ElementRef
public class ElementRef
Provides a description of an element. This can be used at any time,
unlike an ElementHandler
, which is mostly unusable when it's
not on the processing stack (i.e. after its SAX endElement has been
processed).
Constructor Summary | |
---|---|
ElementRef(ElementHandler handler,
Locator locator)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
ElementHandler |
getHandler()
Returns the element handler to which this ref refers. |
String |
getName()
Returns the element name. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ElementRef(ElementHandler handler, Locator locator)
ElementHandler.getRef()
rather than constructing a new one.
handler
- handlerlocator
- locator describing the current parse positionMethod Detail |
---|
public String getName()
public ElementHandler getHandler()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |