@API(type=INTERNAL, src=PUBLIC) public class DITAElementLocator extends ElementLocator
link
Constructor and Description |
---|
DITAElementLocator(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.
|
public DITAElementLocator(java.lang.String link)
link
- The link used to identify the 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.