Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * This file is part of the DiffX library.
  *
  * For licensing information please see the file license.txt included in the release.
  * A copy of this licence can also be found at
  *   http://www.opensource.org/licenses/artistic-license-2.0.php
  */
 package com.topologi.diffx.event;

An event for attributes.

Author(s):
Christophe Lauret
Version:
3 April 2005
public interface AttributeEvent extends DiffXEvent {

  
Returns the local name of the attribute.

This method should never return null.

Returns:
The local name of the attribute.
  String getName();

  
Returns the value of the attribute.

This method should never return null.

Returns:
The value of the attribute.
  String getValue();

  
Returns the namespace URI the attribute belongs to.

This method should return null if the implementation is not namespace aware or if the attribute is not bound to any namespace.

Returns:
The namespace URI the attribute belongs to or null.
New to GrepCode? Check out our FAQ X