@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 LinkTextResolver
node
- Author node.InvalidLinkException
- Various problems while resolving the reference.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 refreshNodeReferences(AuthorNode node)
LinkTextResolver
AuthorAccess.getEditorAccess()
and call WSAuthorEditorPageBase.refresh(AuthorNode)
so that the editing area updates.refreshNodeReferences
in class LinkTextResolver
node
- The node to be refresh.LinkTextResolver.refreshNodeReferences(ro.sync.ecss.extensions.api.node.AuthorNode)
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)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.