Package ro.sync.ecss.extensions.api
Interface ValidatingAuthorReferenceResolver
- All Superinterfaces:
AuthorReferenceResolver
,Extension
- All Known Subinterfaces:
DITAMapReferencesResolver
- All Known Implementing Classes:
DITAConRefResolver
,DITAConrefsResolverBase
,DITAMapRefResolver
@API(type=EXTENDABLE,
src=PUBLIC)
public interface ValidatingAuthorReferenceResolver
extends AuthorReferenceResolver
This resolver also validates the target
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkTarget
(AuthorNode node, AuthorDocument targetDocument) Check if the referenced target can be inserted in the source documentMethods inherited from interface ro.sync.ecss.extensions.api.AuthorReferenceResolver
allowsValidatationForEditableReference, getDisplayName, getReferenceSystemID, getReferenceUniqueID, hasEditableReference, hasReferences, isReferenceChanged, replaceReference, resolveReference
Methods inherited from interface ro.sync.ecss.extensions.api.Extension
getDescription
-
Method Details
-
checkTarget
void checkTarget(AuthorNode node, AuthorDocument targetDocument) throws ValidatingReferenceResolverException Check if the referenced target can be inserted in the source document- Parameters:
node
- The source node for which the target node was resolved.targetDocument
- The target document- Throws:
ValidatingReferenceResolverException
- If the source does not accept the target expanded in place.
-