Oxygen XML Editor 11.2 Author API

ro.sync.ecss.extensions.api
Class AuthorListenerAdapter

java.lang.Object
  extended by ro.sync.ecss.extensions.api.AuthorListenerAdapter
All Implemented Interfaces:
AuthorListener

public class AuthorListenerAdapter
extends Object
implements AuthorListener

Convenience implementation of the AuthorListener.


Constructor Summary
AuthorListenerAdapter()
           
 
Method Summary
 void attributeChanged(AttributeChangedEvent e)
          Called when an Author attribute is changed in one of the document's elements.
 void authorNodeNameChanged(AuthorNode node)
          This is called when a node has been renamed.
 void authorNodeStructureChanged(AuthorNode node)
          The node structure has been changed.
 void beforeAttributeChange(AttributeChangedEvent e)
          Called when an attribute is about to be changed in one of the document's elements.
 void beforeAuthorNodeNameChange(AuthorNode authorNode)
          Called when a node name is about to be changed.
 void beforeAuthorNodeStructureChange(AuthorNode authorNode)
          Called when a node structure is about to be changed.
 void beforeContentDelete(DocumentContentDeletedEvent e)
          Called before some content is deleted from the document.
 void beforeContentInsert(DocumentContentInsertedEvent e)
          Called when content is about to be inserted into a document.
 void beforeDoctypeChange()
          Called before the DOCTYPE section is about to be changed.
 void contentDeleted(DocumentContentDeletedEvent e)
          Called when content is deleted from the document.
 void contentInserted(DocumentContentInsertedEvent e)
          Called when content is inserted into the document.
 void doctypeChanged()
          The DOCTYPE section has been changed.
 void documentChanged(AuthorDocument oldDocument, AuthorDocument newDocument)
          A new document has been set into the author page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorListenerAdapter

public AuthorListenerAdapter()
Method Detail

attributeChanged

public void attributeChanged(AttributeChangedEvent e)
Description copied from interface: AuthorListener
Called when an Author attribute is changed in one of the document's elements.

Specified by:
attributeChanged in interface AuthorListener
Parameters:
e - The AttributeChangedEvent.
See Also:
AuthorListener.attributeChanged(ro.sync.ecss.extensions.api.AttributeChangedEvent)

authorNodeNameChanged

public void authorNodeNameChanged(AuthorNode node)
Description copied from interface: AuthorListener
This is called when a node has been renamed.

Specified by:
authorNodeNameChanged in interface AuthorListener
Parameters:
node - The AuthorNode that was renamed.
See Also:
AuthorListener.authorNodeNameChanged(ro.sync.ecss.extensions.api.node.AuthorNode)

authorNodeStructureChanged

public void authorNodeStructureChanged(AuthorNode node)
Description copied from interface: AuthorListener
The node structure has been changed. An insert or delete operation has been made and affected the children of the node.

Specified by:
authorNodeStructureChanged in interface AuthorListener
Parameters:
node - The AuthorNode that contains the modification.
See Also:
AuthorListener.authorNodeStructureChanged(ro.sync.ecss.extensions.api.node.AuthorNode)

beforeAttributeChange

public void beforeAttributeChange(AttributeChangedEvent e)
Description copied from interface: AuthorListener
Called when an attribute is about to be changed in one of the document's elements.

Specified by:
beforeAttributeChange in interface AuthorListener
Parameters:
e - The AttributeChangedEvent.
See Also:
AuthorListener.beforeAttributeChange(AttributeChangedEvent)

beforeAuthorNodeStructureChange

public void beforeAuthorNodeStructureChange(AuthorNode authorNode)
Description copied from interface: AuthorListener
Called when a node structure is about to be changed.

Specified by:
beforeAuthorNodeStructureChange in interface AuthorListener
Parameters:
authorNode - The AuthorNode that contains the modification.
See Also:
AuthorListener.beforeAuthorNodeStructureChange(ro.sync.ecss.extensions.api.node.AuthorNode)

beforeAuthorNodeNameChange

public void beforeAuthorNodeNameChange(AuthorNode authorNode)
Description copied from interface: AuthorListener
Called when a node name is about to be changed.
The authorNode is a reference to the actual node in the AuthorDocument so its name will be changed after the name change operation is completed.
If the old name of the node will be needed after the call of this method it should be obtained and saved during this method call.

Specified by:
beforeAuthorNodeNameChange in interface AuthorListener
Parameters:
authorNode - The AuthorNode that will be changed.
See Also:
AuthorListener.beforeAuthorNodeNameChange(ro.sync.ecss.extensions.api.node.AuthorNode)

beforeContentDelete

public void beforeContentDelete(DocumentContentDeletedEvent e)
Description copied from interface: AuthorListener
Called before some content is deleted from the document.

Specified by:
beforeContentDelete in interface AuthorListener
Parameters:
e - The DocumentContentDeletedEvent.
See Also:
AuthorListener.beforeContentDelete(DocumentContentDeletedEvent)

beforeContentInsert

public void beforeContentInsert(DocumentContentInsertedEvent e)
Description copied from interface: AuthorListener
Called when content is about to be inserted into a document.

Specified by:
beforeContentInsert in interface AuthorListener
Parameters:
e - The DocumentContentInsertedEvent.
See Also:
AuthorListener.beforeContentInsert(DocumentContentInsertedEvent)

beforeDoctypeChange

public void beforeDoctypeChange()
Description copied from interface: AuthorListener
Called before the DOCTYPE section is about to be changed.

Specified by:
beforeDoctypeChange in interface AuthorListener
See Also:
AuthorListener.beforeDoctypeChange()

contentDeleted

public void contentDeleted(DocumentContentDeletedEvent e)
Description copied from interface: AuthorListener
Called when content is deleted from the document.

Specified by:
contentDeleted in interface AuthorListener
Parameters:
e - The DocumentContentDeletedEvent.
See Also:
AuthorListener.contentDeleted(DocumentContentDeletedEvent)

contentInserted

public void contentInserted(DocumentContentInsertedEvent e)
Description copied from interface: AuthorListener
Called when content is inserted into the document.

Specified by:
contentInserted in interface AuthorListener
Parameters:
e - The DocumentContentInsertedEvent.
See Also:
AuthorListener.contentInserted(DocumentContentInsertedEvent)

doctypeChanged

public void doctypeChanged()
Description copied from interface: AuthorListener
The DOCTYPE section has been changed.

Specified by:
doctypeChanged in interface AuthorListener
See Also:
AuthorListener.doctypeChanged()

documentChanged

public void documentChanged(AuthorDocument oldDocument,
                            AuthorDocument newDocument)
Description copied from interface: AuthorListener
A new document has been set into the author page.

Specified by:
documentChanged in interface AuthorListener
Parameters:
oldDocument - The old Author document
newDocument - The new Author document.
See Also:
AuthorListener.documentChanged(ro.sync.ecss.extensions.api.node.AuthorDocument, ro.sync.ecss.extensions.api.node.AuthorDocument)

Oxygen XML Editor 11.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.