Package ro.sync.ecss.extensions.dita
Class DITAEditImageMapCore
java.lang.Object
ro.sync.ecss.extensions.commons.imagemap.EditImageMapCore
ro.sync.ecss.extensions.commons.imagemap.EditImageMapWithSurroundCore
ro.sync.ecss.extensions.dita.DITAEditImageMapCore
@API(type=INTERNAL,
src=PUBLIC)
public class DITAEditImageMapCore
extends EditImageMapWithSurroundCore
Edit Image Map Core for DITA.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String[]getNodesOfInterestCriteria(String namespace) Get the criteria for nodes of interest, and the start and end of the fragment to surround with.getSupportedFramework(String namespaceURI) Detect the supported framework.protected booleanisNodeOfInterest(AuthorNode nodeToEdit, String property2Check) Check if the node is of interest.protected booleanneedComplexSurround(AuthorNode nodeToEdit) Check if the edited node need more complex surrounding.Methods inherited from class ro.sync.ecss.extensions.commons.imagemap.EditImageMapWithSurroundCore
getNodesOfInterestMethods inherited from class ro.sync.ecss.extensions.commons.imagemap.EditImageMapCore
findNodeOfInterest, getFullySelectedNode
-
Constructor Details
-
DITAEditImageMapCore
public DITAEditImageMapCore()
-
-
Method Details
-
getSupportedFramework
Description copied from class:EditImageMapCoreDetect the supported framework.- Specified by:
getSupportedFrameworkin classEditImageMapCore- Parameters:
namespaceURI- The namespace uri of the element.- Returns:
- The supported framework.
- See Also:
-
getNodesOfInterestCriteria
Description copied from class:EditImageMapWithSurroundCoreGet the criteria for nodes of interest, and the start and end of the fragment to surround with.- Specified by:
getNodesOfInterestCriteriain classEditImageMapWithSurroundCore- Parameters:
namespace- The namespace of the document.- Returns:
- A 4 items array with the main property, the secondary property, and the start + end of the fragment to surround with.
- See Also:
-
needComplexSurround
Description copied from class:EditImageMapWithSurroundCoreCheck if the edited node need more complex surrounding.- Overrides:
needComplexSurroundin classEditImageMapWithSurroundCore- Parameters:
nodeToEdit- The node to edit.- Returns:
trueif complex surrounding need to be performed.- See Also:
-
isNodeOfInterest
Description copied from class:EditImageMapCoreCheck if the node is of interest.- Overrides:
isNodeOfInterestin classEditImageMapCore- Parameters:
nodeToEdit- The node to edit candidate.property2Check- The property value to check.- Returns:
trueif the node is eligible,falseotherwise.- See Also:
-