gnu.xml.xpath

Class NamespaceTest


public final class NamespaceTest
extends Test

Tests whether a namespace attribute has the specified name.

Constructor Summary

NamespaceTest(QName qName, boolean anyLocalName, boolean any)

Method Summary

Test
clone(Object context)
boolean
matches(Node node, int pos, int len)
boolean
matchesAny()
boolean
matchesAnyLocalName()
String
toString()

Methods inherited from class gnu.xml.xpath.Test

clone, matches

Constructor Details

NamespaceTest

public NamespaceTest(QName qName,
                     boolean anyLocalName,
                     boolean any)

Method Details

clone

public Test clone(Object context)
Overrides:
clone in interface Test


matches

public boolean matches(Node node,
                       int pos,
                       int len)
Overrides:
matches in interface Test


matchesAny

public boolean matchesAny()


matchesAnyLocalName

public boolean matchesAnyLocalName()


toString

public String toString()