Package ro.sync.ecss.extensions.dita
Class DITAMapKeyDefElementLocator
java.lang.Object
ro.sync.ecss.extensions.api.link.ElementLocator
ro.sync.ecss.extensions.dita.DITAMapKeyDefElementLocator
An implementation for a DITA element searching for a key definition.
-
Field Summary
Fields inherited from class ro.sync.ecss.extensions.api.link.ElementLocator
link -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String uri, String localName, String name) Notification received when the end of an element has been encountered.booleanstartElement(String uri, String localName, String name, Attr[] atts) Notification received when the beginning of an element has been encountered.
-
Constructor Details
-
DITAMapKeyDefElementLocator
Constructor.- Parameters:
link- The link used to identify the element.
-
-
Method Details
-
endElement
Description copied from class:ElementLocatorNotification received when the end of an element has been encountered. This method is invoked at the end of every element in the XML document; an event will be fired for everyendElement(even when the element is empty).- Specified by:
endElementin classElementLocator- Parameters:
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 element- See Also:
-
startElement
Description copied from class:ElementLocatorNotification received when the beginning of an element has been encountered. This method is invoked at the beginning of every element in the XML document; an event will be fired for everystartElement(even when the element is empty).- Specified by:
startElementin classElementLocator- Parameters:
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 asAttrobjects.- Returns:
trueif the current element is indicated by the link.- See Also:
-