@API(type=EXTENDABLE,
src=PUBLIC)
public abstract class ElementLocator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
link
The link to be used to identify the element.
|
Constructor and Description |
---|
ElementLocator(java.lang.String link)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Notification received when the end of an element has been encountered.
|
abstract boolean |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
Attr[] atts)
Notification received when the beginning of an element has been encountered.
|
protected final java.lang.String link
public ElementLocator(java.lang.String link)
link
- The link to be used to identify the element.public abstract boolean startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, Attr[] atts)
startElement
(even when the element is empty).uri
- the namespace URI, or the empty string if the
element has no namespace URI or if namespace
processing is not being performedlocalName
- the local name of the elementqName
- the qualified name of the elementatts
- an array with the attributes attached to the element. If
there are no attributes, it shall be empty.
The attributes are represented as Attr
objects.true
if the current element is indicated by the link.public abstract void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
endElement
(even when the element is empty).uri
- the namespace URI, or the empty string if the
element has no namespace URI or if namespace
processing is not being performedlocalName
- the local name of the elementqName
- the qualified XML name of the element© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.