|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.ecss.extensions.api.link.LinkTextResolver
ro.sync.ecss.extensions.docbook.link.DocbookLinkTextResolver
@API(type=NOT_EXTENDABLE, src=PUBLIC) public class DocbookLinkTextResolver
Resolves local docbook xrefs. The content of the link is given by either the xreflabel attribute or a title(info/title) child of the targeted element.
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Constructor Summary | |
---|---|
DocbookLinkTextResolver()
|
Method Summary | |
---|---|
void |
activated(AuthorAccess authorAccess)
Signals that this resolver has entered in use. |
void |
clearReferencesCache()
Any cache should be cleared in order to prepare for future evaluations. |
void |
deactivated(AuthorAccess authorAccess)
Signals that this resolver has exit from use. |
static java.lang.String |
getTitleValue(AuthorElement elem)
Checks if the element has a TITLE child or an INFO/TITLE child and returns it's value. |
void |
refresh()
Signals a major refresh. |
java.lang.String |
resolveReference(AuthorNode node)
Gets a text representation for the reference. |
Methods inherited from class ro.sync.ecss.extensions.api.link.LinkTextResolver |
---|
update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocbookLinkTextResolver()
Method Detail |
---|
public java.lang.String resolveReference(AuthorNode node) throws InvalidLinkException
LinkTextResolver
resolveReference
in class LinkTextResolver
node
- Author node.
InvalidLinkException
- When it is not possible to resolve the link.LinkTextResolver.resolveReference(ro.sync.ecss.extensions.api.node.AuthorNode)
public void refresh()
LinkTextResolver
refresh
in class LinkTextResolver
LinkTextResolver.refresh()
public void clearReferencesCache()
LinkTextResolver
clearReferencesCache
in class LinkTextResolver
LinkTextResolver.clearReferencesCache()
public static java.lang.String getTitleValue(AuthorElement elem)
elem
- The current element.
public void activated(AuthorAccess authorAccess)
LinkTextResolver
AuthorMouseListener
or AuthorListener
).
activated
in class LinkTextResolver
authorAccess
- The AuthorAccess
of the Author page where the
listener was activated.AuthorExtensionStateListener.activated(ro.sync.ecss.extensions.api.AuthorAccess)
public void deactivated(AuthorAccess authorAccess)
LinkTextResolver
deactivated
in class LinkTextResolver
authorAccess
- The AuthorAccess
of the Author page where the
listener was activated.AuthorExtensionStateListener.deactivated(ro.sync.ecss.extensions.api.AuthorAccess)
|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |