ro.sync.ecss.extensions.api
Interface UniqueAttributesRecognizer
- All Superinterfaces:
- AuthorExtensionStateListener, Extension
- All Known Implementing Classes:
- DefaultUniqueAttributesRecognizer, DITAUniqueAttributesRecognizer, Docbook4UniqueAttributesRecognizer, Docbook5UniqueAttributesRecognizer, TEIP4UniqueAttributesRecognizer, TEIP5UniqueAttributesRecognizer, XHTMLUniqueAttributesRecognizer
public interface UniqueAttributesRecognizer
- extends AuthorExtensionStateListener
Identifies unique attributes like ID's.
Method Summary |
void |
assignUniqueIDs(int startOffset,
int endOffset,
boolean forceGeneration)
Assign unique IDs between a start and an end offset in the document |
boolean |
copyAttributeOnSplit(java.lang.String attrQName,
AuthorElement element)
Check if the attribute specified by QName can be considered as a valid attribute to copy when the element is split. |
boolean |
isAutoIDGenerationActive()
|
copyAttributeOnSplit
boolean copyAttributeOnSplit(java.lang.String attrQName,
AuthorElement element)
- Check if the attribute specified by QName can be considered as a valid attribute to copy when the element is split.
- Parameters:
attrQName
- The attribute qualified nameelement
- The element
- Returns:
- true if the attribute should be copied when Split is performed.
assignUniqueIDs
void assignUniqueIDs(int startOffset,
int endOffset,
boolean forceGeneration)
- Assign unique IDs between a start and an end offset in the document
- Parameters:
startOffset
- Start offsetendOffset
- End offsetforceGeneration
- If true, will generate even if the ID generation pattern list does not match
isAutoIDGenerationActive
boolean isAutoIDGenerationActive()
- Returns:
- true if auto
© Copyright SyncRO Soft SRL 2002 - 2010.