|
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.dita.link.DitaLinkTextResolver
@API(type=NOT_EXTENDABLE, src=PUBLIC) public class DitaLinkTextResolver
Can resolve DITA references to another topic made through the href attribute on elements of classes: map/topicref , topic/xref and topic/link . It also resolves key references provided that the ditamap is opened in DITA Map Manager."
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 | |
---|---|
DitaLinkTextResolver()
|
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. |
void |
refresh()
Signals a major refresh. |
java.lang.String |
resolveReference(AuthorNode node)
Get the text of the reference. |
void |
update(java.util.Set<java.lang.String> modifiedURLs)
Update the cache of references. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DitaLinkTextResolver()
Method Detail |
---|
public java.lang.String resolveReference(AuthorNode node)
resolveReference
in class LinkTextResolver
node
- Author node.
public void update(java.util.Set<java.lang.String> modifiedURLs)
update
in class LinkTextResolver
modifiedURLs
- The URLs that are modified.public void refresh()
LinkTextResolver
refresh
in class LinkTextResolver
LinkTextResolver.refresh()
public void clearReferencesCache()
LinkTextResolver
clearReferencesCache
in class LinkTextResolver
LinkTextResolver.clearReferencesCache()
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 |