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 boolean
isNodeOfInterest
(AuthorNode nodeToEdit, String property2Check) Check if the node is of interest.protected boolean
needComplexSurround
(AuthorNode nodeToEdit) Check if the edited node need more complex surrounding.Methods inherited from class ro.sync.ecss.extensions.commons.imagemap.EditImageMapWithSurroundCore
getNodesOfInterest
Methods inherited from class ro.sync.ecss.extensions.commons.imagemap.EditImageMapCore
findNodeOfInterest, getFullySelectedNode
-
Constructor Details
-
DITAEditImageMapCore
public DITAEditImageMapCore()
-
-
Method Details
-
getSupportedFramework
Description copied from class:EditImageMapCore
Detect the supported framework.- Specified by:
getSupportedFramework
in classEditImageMapCore
- Parameters:
namespaceURI
- The namespace uri of the element.- Returns:
- The supported framework.
- See Also:
-
getNodesOfInterestCriteria
Description copied from class:EditImageMapWithSurroundCore
Get the criteria for nodes of interest, and the start and end of the fragment to surround with.- Specified by:
getNodesOfInterestCriteria
in 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:EditImageMapWithSurroundCore
Check if the edited node need more complex surrounding.- Overrides:
needComplexSurround
in classEditImageMapWithSurroundCore
- Parameters:
nodeToEdit
- The node to edit.- Returns:
true
if complex surrounding need to be performed.- See Also:
-
isNodeOfInterest
Description copied from class:EditImageMapCore
Check if the node is of interest.- Overrides:
isNodeOfInterest
in classEditImageMapCore
- Parameters:
nodeToEdit
- The node to edit candidate.property2Check
- The property value to check.- Returns:
true
if the node is eligible,false
otherwise.- See Also:
-