All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class de.tudarmstadt.ito.domutils.NameQualifierImpl

java.lang.Object
   |
   +----de.tudarmstadt.ito.domutils.NameQualifierImpl

public class NameQualifierImpl
extends Object
implements NameQualifier
Default implementation of the NameQualifier interface.

This is usually the base class for other objects that implement NameQualifier. Normally, these objects override getLocalName() and getNamespaceURI() but not getQualifiedName().

Version:
1.01
Author:
Ronald Bourret, Technical University of Darmstadt

Constructor Index

 o NameQualifierImpl()
Construct a new NameQualifierImpl object.

Method Index

 o getLocalName(Node)
Default implementation of getLocalName.
 o getNamespaceURI(Node)
Default implementation of getNamespaceURI.
 o getQualifiedName(Node)
Default implementation of getQualifiedName.

Constructors

 o NameQualifierImpl
 public NameQualifierImpl()
Construct a new NameQualifierImpl object.

Methods

 o getQualifiedName
 public String getQualifiedName(Node node)
Default implementation of getQualifiedName.

Parameters:
node - The Node for which to get the name.
Returns:
The qualified name.
 o getLocalName
 public String getLocalName(Node node)
Default implementation of getLocalName. Always returns the Node name.

Parameters:
node - The Node for which to get the name.
Returns:
The (possibly prefixed) Node name.
 o getNamespaceURI
 public String getNamespaceURI(Node node)
Default implementation of getNamespaceURI. Always returns null.

Parameters:
node - The Node for which to get the URI.
Returns:
Always null.

All Packages  Class Hierarchy  This Package  Previous  Next  Index