@API(type=EXTENDABLE,
src=PUBLIC)
public class DitaLinkTextResolver
extends LinkTextResolver
| Constructor and Description |
|---|
DitaLinkTextResolver()
Constructor.
|
DitaLinkTextResolver(ContextKeyManager keyManager)
Deprecated.
use
DitaLinkTextResolver(ContextKeyManagerProvider) instead. |
DitaLinkTextResolver(ContextKeyManagerProvider keyManagerProvider)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
@Deprecated public DitaLinkTextResolver(ContextKeyManager keyManager)
DitaLinkTextResolver(ContextKeyManagerProvider) instead.keyManager - The context-aware key manager.public DitaLinkTextResolver(ContextKeyManagerProvider keyManagerProvider)
keyManagerProvider - The context-aware key manager provider.public java.lang.String resolveReference(AuthorNode node) throws InvalidLinkException
resolveReference in class LinkTextResolvernode - Author node.InvalidLinkException - Various problems while resolving the reference.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 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 - 2016. All rights reserved.