@API(type=EXTENDABLE,
src=PUBLIC)
public class DitaLinkTextResolver
extends LinkTextResolver
| Constructor and Description |
|---|
DitaLinkTextResolver()
Constructor.
|
DitaLinkTextResolver(ContextKeyManager keyManager)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activated(AuthorAccess authorAccess)
Signals that this resolver has entered in use.
|
java.lang.String |
buildKeyrefCacheKey(AuthorElement node,
java.lang.String keyName)
Build the cache key for a keyRef with the given name that appears on
the given node.
|
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.
|
void |
refreshNodeReferences(AuthorNode node)
Marks the references used by the given node as being invalid and requiring
refreshing.
|
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.
|
public DitaLinkTextResolver()
public DitaLinkTextResolver(ContextKeyManager keyManager)
keyManager - The context-aware key manager.public java.lang.String resolveReference(AuthorNode node)
resolveReference in class LinkTextResolvernode - Author node.public void update(java.util.Set<java.lang.String> modifiedURLs)
update in class LinkTextResolvermodifiedURLs - The URLs that are modified.public void refresh()
LinkTextResolverrefresh in class LinkTextResolverLinkTextResolver.refresh()public void refreshNodeReferences(AuthorNode node)
LinkTextResolverAuthorAccess.getEditorAccess() and call WSAuthorEditorPageBase.refresh(AuthorNode)
so that the editing area updates.refreshNodeReferences in class LinkTextResolvernode - The node to be refresh.LinkTextResolver.refreshNodeReferences(ro.sync.ecss.extensions.api.node.AuthorNode)public java.lang.String buildKeyrefCacheKey(AuthorElement node, java.lang.String keyName)
node - The node on which the keyRef appears.keyName - The name of the keyRef.public void clearReferencesCache()
LinkTextResolverclearReferencesCache in class LinkTextResolverLinkTextResolver.clearReferencesCache()public void activated(AuthorAccess authorAccess)
LinkTextResolverAuthorMouseListener or AuthorListener).activated in class LinkTextResolverauthorAccess - The AuthorAccess of the Author page where the
listener was activated.AuthorExtensionStateListener.activated(ro.sync.ecss.extensions.api.AuthorAccess)public void deactivated(AuthorAccess authorAccess)
LinkTextResolverdeactivated in class LinkTextResolverauthorAccess - The AuthorAccess of the Author page where the
listener was activated.AuthorExtensionStateListener.deactivated(ro.sync.ecss.extensions.api.AuthorAccess)© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.