@API(type=INTERNAL, src=PUBLIC) public class IDElementLocator extends ElementLocator
Modifier and Type | Field and Description |
---|---|
protected IDTypeVerifier |
idVerifier
Class used to check if an attribute has ID type.
|
link
Constructor and Description |
---|
IDElementLocator(IDTypeVerifier idVerifier,
java.lang.String link)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name)
Notification received when the end of an element has been encountered.
|
boolean |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name,
Attr[] atts)
Notification received when the beginning of an element has been encountered.
|
protected IDTypeVerifier idVerifier
public IDElementLocator(IDTypeVerifier idVerifier, java.lang.String link)
idVerifier
- Used to check if an attribute has ID type.link
- The link used to identify an element.public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String name)
ElementLocator
endElement
(even when the element is empty).endElement
in class ElementLocator
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 elementname
- the qualified XML name of the elementElementLocator.endElement(java.lang.String, java.lang.String, java.lang.String)
public boolean startElement(java.lang.String uri, java.lang.String localName, java.lang.String name, Attr[] atts)
ElementLocator
startElement
(even when the element is empty).startElement
in class ElementLocator
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 elementname
- 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.ElementLocator.startElement(java.lang.String, java.lang.String, java.lang.String, ro.sync.ecss.extensions.api.link.Attr[])
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.