|
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.commons.DefaultElementLocatorProvider
public class DefaultElementLocatorProvider
Default implementation for locating elements based on a given link.
Depending on the link structure the following cases are covered:
- XInclude element scheme : element(/1/2)
see http://www.w3.org/TR/2003/REC-xptr-element-20030325/
- ID based links : the link represents the value of an attribute of type ID.
Constructor Summary | |
---|---|
DefaultElementLocatorProvider()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
ElementLocator |
getElementLocator(IDTypeVerifier idVerifier,
java.lang.String link)
Get an element locator capable of locating the element pointed by this link. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultElementLocatorProvider()
Method Detail |
---|
public ElementLocator getElementLocator(IDTypeVerifier idVerifier, java.lang.String link)
ElementLocatorProvider
getElementLocator
in interface ElementLocatorProvider
idVerifier
- Verifies if a given attribute type is ID.link
- The link that points to the element.
ElementLocator
capable of locating the element
indicated by the given link.ElementLocatorProvider.getElementLocator(ro.sync.ecss.extensions.api.link.IDTypeVerifier, java.lang.String)
public java.lang.String getDescription()
getDescription
in interface Extension
Extension.getDescription()
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |