Oxygen XML Editor 11.2 Author API

ro.sync.ecss.extensions.docbook
Class DocBook5ExtensionsBundle

java.lang.Object
  extended by ro.sync.ecss.extensions.api.ExtensionsBundle
      extended by ro.sync.ecss.extensions.docbook.DocBookExtensionsBundleBase
          extended by ro.sync.ecss.extensions.docbook.DocBook5ExtensionsBundle
All Implemented Interfaces:
Extension

public class DocBook5ExtensionsBundle
extends DocBookExtensionsBundleBase

The DocBook 5 framework extensions bundle.


Constructor Summary
DocBook5ExtensionsBundle()
           
 
Method Summary
 AuthorExtensionStateListener createAuthorExtensionStateListener()
          Returns the AuthorExtensionStateListener which will be notified when the Author extension where it is defined is activated and deactivated during the detection process.
 AuthorSchemaAwareEditingHandler getAuthorSchemaAwareEditingHandler()
          If Schema Aware mode is active in Oxygen, all actions that can generate invalid content will be redirected toward this support.
 String getDescription()
           
protected  String getDocumentNamespace()
           
 String getDocumentTypeID()
          This should never return null if the OptionsStorage support it is intended to be used.
 UniqueAttributesRecognizer getUniqueAttributesIdentifier()
           
 
Methods inherited from class ro.sync.ecss.extensions.docbook.DocBookExtensionsBundleBase
createAuthorTableCellSpanProvider, createAuthorTableColumnWidthProvider
 
Methods inherited from class ro.sync.ecss.extensions.api.ExtensionsBundle
createAttributesValueEditor, createAuthorAWTDndListener, createAuthorBreadCrumbCustomizer, createAuthorOutlineCustomizer, createAuthorReferenceResolver, createAuthorStylesFilter, createAuthorSWTDndListener, createElementLocatorProvider, createSchemaManagerFilter, createTextSWTDndListener, resolveCustomHref
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocBook5ExtensionsBundle

public DocBook5ExtensionsBundle()
Method Detail

createAuthorExtensionStateListener

public AuthorExtensionStateListener createAuthorExtensionStateListener()
Description copied from class: ExtensionsBundle
Returns the AuthorExtensionStateListener which will be notified when the Author extension where it is defined is activated and deactivated during the detection process. This method is called each time the Document Type association where the Author extension and the extensions bundle are defined matches a document opened in an Author page.

Overrides:
createAuthorExtensionStateListener in class ExtensionsBundle
Returns:
A new AuthorExtensionStateListener instance.
See Also:
ExtensionsBundle.createAuthorExtensionStateListener()

getDescription

public String getDescription()
Returns:
The description of the extension.
See Also:
Extension.getDescription()

getDocumentTypeID

public String getDocumentTypeID()
Description copied from class: ExtensionsBundle
This should never return null if the OptionsStorage support it is intended to be used. If this returns null you will not be able to add OptionListener or store and retrieve any options at all.

Specified by:
getDocumentTypeID in class ExtensionsBundle
Returns:
The unique identifier of the Document Type.
See Also:
ExtensionsBundle.getDocumentTypeID()

getUniqueAttributesIdentifier

public UniqueAttributesRecognizer getUniqueAttributesIdentifier()
Overrides:
getUniqueAttributesIdentifier in class ExtensionsBundle
Returns:
the unique attributes identifier
See Also:
ExtensionsBundle.getUniqueAttributesIdentifier()

getDocumentNamespace

protected String getDocumentNamespace()
Specified by:
getDocumentNamespace in class DocBookExtensionsBundleBase
Returns:
The document namespace.
See Also:
DocBookExtensionsBundleBase.getDocumentNamespace()

getAuthorSchemaAwareEditingHandler

public AuthorSchemaAwareEditingHandler getAuthorSchemaAwareEditingHandler()
Description copied from class: ExtensionsBundle
If Schema Aware mode is active in Oxygen, all actions that can generate invalid content will be redirected toward this support. The support can either resolve a specific case, let the default implementation take place or reject the edit entirely by throwing an InvalidEditException. It is recommended to extend class AuthorSchemaAwareEditingHandlerAdapter in order to be protected from any API additions that may occur in interface AuthorSchemaAwareEditingHandler.

Overrides:
getAuthorSchemaAwareEditingHandler in class ExtensionsBundle
Returns:
A custom editing handler for schema aware actions, or null if there is no handler and the default processing should take place.
See Also:
ExtensionsBundle.getAuthorSchemaAwareEditingHandler()

Oxygen XML Editor 11.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.