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 Details

    • SchemaManagerFilterBase

      public SchemaManagerFilterBase()
  • Method Details

    • getElementDescription

      public CIElement getElementDescription(CIElement element, Context ctxt)
      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