@API(type=EXTENDABLE, src=PUBLIC) public class DocbookLinkTextResolver extends LinkTextResolver
Constructor and Description |
---|
DocbookLinkTextResolver() |
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.
|
static java.lang.String |
getTitleValue(AuthorElement elem)
Checks if the element has a TITLE child or an INFO/TITLE child and returns
it's value.
|
void |
refresh()
Signals a major refresh.
|
java.lang.String |
resolveReference(AuthorNode node)
Gets a text representation for the reference.
|
refreshNodeReferences, update
public java.lang.String resolveReference(AuthorNode node) throws InvalidLinkException
LinkTextResolver
resolveReference
in class LinkTextResolver
node
- Author node.InvalidLinkException
- When it is not possible to resolve the link.LinkTextResolver.resolveReference(ro.sync.ecss.extensions.api.node.AuthorNode)
public void refresh()
LinkTextResolver
refresh
in class LinkTextResolver
LinkTextResolver.refresh()
public void clearReferencesCache()
LinkTextResolver
clearReferencesCache
in class LinkTextResolver
LinkTextResolver.clearReferencesCache()
public static java.lang.String getTitleValue(AuthorElement elem)
elem
- The current element.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.