Package ro.sync.contentcompletion.xml
Class SchemaManagerFilterBase
java.lang.Object
ro.sync.contentcompletion.xml.SchemaManagerFilterBase
- All Implemented Interfaces:
SchemaManagerFilter
,Extension
- Direct Known Subclasses:
DITASchemaManagerFilter
,DITAValSchemaManagerFilter
,DocbookSchemaManagerFilter
,StyleGuideSchemaManagerFilterBase
@API(type=EXTENDABLE,
src=PUBLIC)
public abstract class SchemaManagerFilterBase
extends Object
implements SchemaManagerFilter
Base class for objects used to filter the editor content completion
schema manager proposals. This should be implemented if the
list of content completion proposals must be filtered based on some criteria or
some new entries need to be added.
- Since:
- 15
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeDescription
(CIAttribute attribute, WhatPossibleValuesHasAttributeContext ctxt) Get an element's description in a certain context.getElementDescription
(CIElement element, Context ctxt) Get an element's description in a certain context.void
Invalidates any cached data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ro.sync.ecss.extensions.api.Extension
getDescription
Methods inherited from interface ro.sync.contentcompletion.xml.SchemaManagerFilter
filterAttributes, filterAttributeValues, filterElements, filterElementValues
-
Constructor Details
-
SchemaManagerFilterBase
public SchemaManagerFilterBase()
-
-
Method Details
-
getElementDescription
Get an element's description in a certain context.- Parameters:
element
- The element description which has been computed in the context by the default schema manager implementation.ctxt
- The context.- Returns:
- The element description which could be changed by this implementation or the same description.
-
getAttributeDescription
public CIAttribute getAttributeDescription(CIAttribute attribute, WhatPossibleValuesHasAttributeContext ctxt) Get an element's description in a certain context.- Parameters:
attribute
- The attribute description which has been computed in the context by the default schema manager implementation.ctxt
- The context.- Returns:
- The attribute description which could be changed by this implementation or the same description.
-
invalidate
public void invalidate()Invalidates any cached data.- Since:
- 16
-