@API(type=EXTENDABLE, src=PUBLIC) public class AuthorListenerAdapter extends java.lang.Object implements AuthorListener
AuthorListener
.Constructor and Description |
---|
AuthorListenerAdapter() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void attributeChanged(AttributeChangedEvent e)
AuthorListener
attributeChanged
in interface AuthorListener
e
- The AttributeChangedEvent
.AuthorListener.attributeChanged(ro.sync.ecss.extensions.api.AttributeChangedEvent)
public void authorNodeNameChanged(AuthorNode node)
AuthorListener
authorNodeNameChanged
in interface AuthorListener
node
- The AuthorNode
that was renamed.AuthorListener.authorNodeNameChanged(ro.sync.ecss.extensions.api.node.AuthorNode)
public void authorNodeStructureChanged(AuthorNode node)
AuthorListener
authorNodeStructureChanged
in interface AuthorListener
node
- The AuthorNode
that contains the modification.AuthorListener.authorNodeStructureChanged(ro.sync.ecss.extensions.api.node.AuthorNode)
public void beforeAttributeChange(AttributeChangedEvent e)
AuthorListener
beforeAttributeChange
in interface AuthorListener
e
- The AttributeChangedEvent
.AuthorListener.beforeAttributeChange(AttributeChangedEvent)
public void beforeAuthorNodeStructureChange(AuthorNode authorNode)
AuthorListener
beforeAuthorNodeStructureChange
in interface AuthorListener
authorNode
- The AuthorNode
that contains the modification.AuthorListener.beforeAuthorNodeStructureChange(ro.sync.ecss.extensions.api.node.AuthorNode)
public void beforeAuthorNodeNameChange(AuthorNode authorNode)
AuthorListener
authorNode
is a reference to the actual node in the
AuthorDocument
so its name will be changed after the name change
operation is completed.
beforeAuthorNodeNameChange
in interface AuthorListener
authorNode
- The AuthorNode
that will be changed.AuthorListener.beforeAuthorNodeNameChange(ro.sync.ecss.extensions.api.node.AuthorNode)
public void beforeContentDelete(DocumentContentDeletedEvent e)
AuthorListener
beforeContentDelete
in interface AuthorListener
e
- The DocumentContentDeletedEvent
.AuthorListener.beforeContentDelete(DocumentContentDeletedEvent)
public void beforeContentInsert(DocumentContentInsertedEvent e)
AuthorListener
beforeContentInsert
in interface AuthorListener
e
- The DocumentContentInsertedEvent
.AuthorListener.beforeContentInsert(DocumentContentInsertedEvent)
public void beforeDoctypeChange()
AuthorListener
beforeDoctypeChange
in interface AuthorListener
AuthorListener.beforeDoctypeChange()
public void contentDeleted(DocumentContentDeletedEvent e)
AuthorListener
contentDeleted
in interface AuthorListener
e
- The DocumentContentDeletedEvent
.AuthorListener.contentDeleted(DocumentContentDeletedEvent)
public void contentInserted(DocumentContentInsertedEvent e)
AuthorListener
contentInserted
in interface AuthorListener
e
- The DocumentContentInsertedEvent
.AuthorListener.contentInserted(DocumentContentInsertedEvent)
public void doctypeChanged()
AuthorListener
doctypeChanged
in interface AuthorListener
AuthorListener.doctypeChanged()
public void documentChanged(AuthorDocument oldDocument, AuthorDocument newDocument)
AuthorListener
documentChanged
in interface AuthorListener
oldDocument
- The old Author documentnewDocument
- The new Author document.AuthorListener.documentChanged(ro.sync.ecss.extensions.api.node.AuthorDocument, ro.sync.ecss.extensions.api.node.AuthorDocument)
© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.