|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.ecss.extensions.api.link.ElementLocator
public abstract class ElementLocator
Base class for custom elements locators used to locate an element based on a link. The source XML is parsed and notifications will be forwarded to ElementLocator objects in order for the references to be resolved.
Field Summary | |
---|---|
protected java.lang.String |
link
The link to be used to identify the element. |
Constructor Summary | |
---|---|
ElementLocator(java.lang.String link)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.String link
Constructor Detail |
---|
public ElementLocator(java.lang.String link)
link
- The link to be used to identify the element.Method Detail |
---|
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
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |