|
Oxygen XML Editor 15.0 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
@API(type=EXTENDABLE, src=PUBLIC) public abstract class LinkTextResolver
Resolves a link and obtains a text representation. This interface is used when CSS function oxy_link-text() is encountered in the CSS on 'content' properties.
Constructor Summary | |
---|---|
LinkTextResolver()
|
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. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkTextResolver()
Method Detail |
---|
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.
|
Oxygen XML Editor 15.0 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |