@API(type=INTERNAL, src=PUBLIC) public class XHTMLElementLocator extends IDElementLocator
id
attribute or the name
attribute of an a
element.
The name
attribute is not of ID type so it needs to be specifically
handled.idVerifier
link
Constructor and Description |
---|
XHTMLElementLocator(IDTypeVerifier idVerifier,
java.lang.String link)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
endElement
public XHTMLElementLocator(IDTypeVerifier idVerifier, java.lang.String link)
idVerifier
- Responsible to verify if an attribute has the ID type.link
- The link to be identified.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 IDElementLocator
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.IDElementLocator.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.