Class DocBookUniqueAttributesRecognizer
- java.lang.Object
-
- ro.sync.ecss.extensions.commons.id.DefaultUniqueAttributesRecognizer
-
- ro.sync.ecss.extensions.docbook.id.DocBookUniqueAttributesRecognizer
-
- All Implemented Interfaces:
AuthorExtensionStateListener
,ClipboardFragmentProcessor
,Extension
,UniqueAttributesProcessor
,UniqueAttributesRecognizer
- Direct Known Subclasses:
Docbook4UniqueAttributesRecognizer
,Docbook5UniqueAttributesRecognizer
@API(type=INTERNAL, src=PUBLIC) public class DocBookUniqueAttributesRecognizer extends DefaultUniqueAttributesRecognizer
Unique attributes recognizer for DocBook.
-
-
Field Summary
-
Fields inherited from class ro.sync.ecss.extensions.commons.id.DefaultUniqueAttributesRecognizer
authorAccess, idAttrQname
-
-
Constructor Summary
Constructors Constructor Description DocBookUniqueAttributesRecognizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
preserveIDsWhenPastingBetweenResources(int fragmentPurpose)
Check if we should preserve IDs when pasting between resources.-
Methods inherited from class ro.sync.ecss.extensions.commons.id.DefaultUniqueAttributesRecognizer
activated, assignUniqueIDs, copyAttributeOnSplit, deactivated, generateUniqueIDFor, getDefaultOptions, getDefaultOptionsXMLResourceName, getDescription, getGenerateIDAttributeQName, getGenerateIDElementsInfo, isAutoIDGenerationActive, process
-
-
-
-
Method Detail
-
preserveIDsWhenPastingBetweenResources
protected boolean preserveIDsWhenPastingBetweenResources(int fragmentPurpose)
Description copied from class:DefaultUniqueAttributesRecognizer
Check if we should preserve IDs when pasting between resources.- Overrides:
preserveIDsWhenPastingBetweenResources
in classDefaultUniqueAttributesRecognizer
- Parameters:
fragmentPurpose
- The fragment purpose. On of theAuthorSchemaAwareEditingHandler
purposes.- Returns:
true
if we should preserve IDs when pasting between resources. By default the base method returnstrue
.- See Also:
DefaultUniqueAttributesRecognizer.preserveIDsWhenPastingBetweenResources(int)
-
-