public class SimpleNameClass extends NameClass
Constructor and Description |
---|
SimpleNameClass(QName name) |
SimpleNameClass(String nsUri,
String localPart) |
SimpleNameClass(String nsUri,
String localPart,
String prefix) |
Modifier and Type | Method and Description |
---|---|
<V> V |
accept(NameClassVisitor<V> visitor)
Visitor pattern support.
|
boolean |
contains(QName name)
Returns true if the given
QName is a valid name
for this QName. |
int |
containsSpecificity(QName name) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isOpen()
Returns true if the name class accepts infinite number of
QName s. |
hasOverlapWith, listNames
public final QName name
public SimpleNameClass(QName name)
public boolean contains(QName name)
NameClass
QName
is a valid name
for this QName.public int containsSpecificity(QName name)
containsSpecificity
in class NameClass
public <V> V accept(NameClassVisitor<V> visitor)
NameClass
Copyright © 2021 JBoss by Red Hat. All rights reserved.