org.apache.pivot.xml
Class ElementListener.Adapter

java.lang.Object
  extended by org.apache.pivot.xml.ElementListener.Adapter
All Implemented Interfaces:
ElementListener
Enclosing interface:
ElementListener

public static class ElementListener.Adapter
extends Object
implements ElementListener

Element listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.xml.ElementListener
ElementListener.Adapter
 
Constructor Summary
ElementListener.Adapter()
           
 
Method Summary
 void attributeInserted(Element element, int index)
          Called when an attribute has been added to an element.
 void attributesRemoved(Element element, int index, Sequence<Element.Attribute> attributes)
          Called when attributes have been removed from an element.
 void attributeValueChanged(Element.Attribute attribute, String previousValue)
          Called when an attribute's value has changed.
 void defaultNamespaceURIChanged(Element element, String previousDefaultNamespaceURI)
          Called when an element's default namespace URI has changed.
 void namespaceAdded(Element element, String prefix)
          Called when a namespace has been added to an element.
 void namespaceRemoved(Element element, String prefix, String uri)
          Called when a namespace has been removed from an element.
 void namespaceUpdated(Element element, String prefix, String previousURI)
          Called when an element attribute has been updated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementListener.Adapter

public ElementListener.Adapter()
Method Detail

defaultNamespaceURIChanged

public void defaultNamespaceURIChanged(Element element,
                                       String previousDefaultNamespaceURI)
Description copied from interface: ElementListener
Called when an element's default namespace URI has changed.

Specified by:
defaultNamespaceURIChanged in interface ElementListener

namespaceAdded

public void namespaceAdded(Element element,
                           String prefix)
Description copied from interface: ElementListener
Called when a namespace has been added to an element.

Specified by:
namespaceAdded in interface ElementListener

namespaceUpdated

public void namespaceUpdated(Element element,
                             String prefix,
                             String previousURI)
Description copied from interface: ElementListener
Called when an element attribute has been updated.

Specified by:
namespaceUpdated in interface ElementListener

namespaceRemoved

public void namespaceRemoved(Element element,
                             String prefix,
                             String uri)
Description copied from interface: ElementListener
Called when a namespace has been removed from an element.

Specified by:
namespaceRemoved in interface ElementListener

attributeInserted

public void attributeInserted(Element element,
                              int index)
Description copied from interface: ElementListener
Called when an attribute has been added to an element.

Specified by:
attributeInserted in interface ElementListener

attributesRemoved

public void attributesRemoved(Element element,
                              int index,
                              Sequence<Element.Attribute> attributes)
Description copied from interface: ElementListener
Called when attributes have been removed from an element.

Specified by:
attributesRemoved in interface ElementListener

attributeValueChanged

public void attributeValueChanged(Element.Attribute attribute,
                                  String previousValue)
Description copied from interface: ElementListener
Called when an attribute's value has changed.

Specified by:
attributeValueChanged in interface ElementListener