@API(type=EXTENDABLE,
src=PUBLIC)
public abstract class LinkTextResolver
extends java.lang.Object
Constructor and Description |
---|
LinkTextResolver() |
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)
Gets a text representation for the reference.
|
void |
update(java.util.Set<java.lang.String> modifiedURLs)
The given URLs have changed.
|
public java.lang.String resolveReference(AuthorNode node) throws InvalidLinkException
node
- Author node.InvalidLinkException
- When it is not possible to resolve the link.public void update(java.util.Set<java.lang.String> modifiedURLs)
modifiedURLs
- The URLs that are modified.public void refresh()
public void clearReferencesCache()
public void activated(AuthorAccess authorAccess)
AuthorMouseListener
or AuthorListener
).authorAccess
- The AuthorAccess
of the Author page where the
listener was activated.public void deactivated(AuthorAccess authorAccess)
authorAccess
- The AuthorAccess
of the Author page where the
listener was activated.public void refreshNodeReferences(AuthorNode node)
AuthorAccess.getEditorAccess()
and call WSAuthorEditorPageBase.refresh(AuthorNode)
so that the editing area updates.node
- The node to be refresh.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.