@API(type=INTERNAL, src=PUBLIC) public class DITAUniqueAttributesRecognizer extends DefaultUniqueAttributesRecognizer
authorAccess, idAttrQname
Constructor and Description |
---|
DITAUniqueAttributesRecognizer()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
copyAttributeOnSplit(java.lang.String attrQName,
AuthorElement element)
Checks if the attribute specified by QName can be considered as a valid attribute to copy when
the element is split.
|
java.lang.String |
getDescription() |
protected java.lang.String |
getGenerateIDAttributeQName(AuthorElement element,
java.lang.String[] elemsWithAutoGeneration,
boolean forceGeneration) |
activated, assignUniqueIDs, deactivated, generateUniqueIDFor, getDefaultOptions, getDefaultOptionsXMLResourceName, getGenerateIDElementsInfo, isAutoIDGenerationActive, preserveIDsWhenPastingBetweenResources, process
public DITAUniqueAttributesRecognizer()
public boolean copyAttributeOnSplit(java.lang.String attrQName, AuthorElement element)
UniqueAttributesProcessor
copyAttributeOnSplit
in interface UniqueAttributesProcessor
copyAttributeOnSplit
in class DefaultUniqueAttributesRecognizer
attrQName
- The attribute qualified name.element
- The element.true
if the attribute should be copied when Split is performed.DefaultUniqueAttributesRecognizer.copyAttributeOnSplit(java.lang.String, ro.sync.ecss.extensions.api.node.AuthorElement)
public java.lang.String getDescription()
getDescription
in interface Extension
getDescription
in class DefaultUniqueAttributesRecognizer
Extension.getDescription()
protected java.lang.String getGenerateIDAttributeQName(AuthorElement element, java.lang.String[] elemsWithAutoGeneration, boolean forceGeneration)
getGenerateIDAttributeQName
in class DefaultUniqueAttributesRecognizer
element
- The current element.elemsWithAutoGeneration
- The array of elements for which generation is activatedforceGeneration
- Force ID generation if there is no selection.DefaultUniqueAttributesRecognizer.getGenerateIDAttributeQName(ro.sync.ecss.extensions.api.node.AuthorElement, java.lang.String[], boolean)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.