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
-
NameQualifierImpl()
- Construct a new NameQualifierImpl object.
-
getLocalName(Node)
- Default implementation of getLocalName.
-
getNamespaceURI(Node)
- Default implementation of getNamespaceURI.
-
getQualifiedName(Node)
- Default implementation of getQualifiedName.
NameQualifierImpl
public NameQualifierImpl()
- Construct a new NameQualifierImpl object.
getQualifiedName
public String getQualifiedName(Node node)
- Default implementation of getQualifiedName.
- Parameters:
- node - The Node for which to get the name.
- Returns:
- The qualified name.
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.
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