public class ElementRef
extends java.lang.Object
ElementHandler
, which is mostly unusable when it's
not on the processing stack (i.e. after its SAX endElement has been
processed).Constructor | Description |
---|---|
ElementRef(ElementHandler handler,
org.xml.sax.Locator locator) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
ElementHandler |
getHandler() |
Returns the element handler to which this ref refers.
|
java.lang.String |
getName() |
Returns the element name.
|
int |
hashCode() |
|
java.lang.String |
toString() |
public ElementRef(ElementHandler handler, org.xml.sax.Locator locator)
ElementHandler.getRef()
rather than constructing a new one.handler
- handlerlocator
- locator describing the current parse positionpublic java.lang.String getName()
public ElementHandler getHandler()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.