|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.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.
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
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. |
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.
|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |