public class ChoiceNameClass extends NameClass
Constructor and Description |
---|
ChoiceNameClass(NameClass nameClass1,
NameClass nameClass2) |
Modifier and Type | Method and Description |
---|---|
<V> V |
accept(NameClassVisitor<V> visitor)
Visitor pattern support.
|
boolean |
contains(javax.xml.namespace.QName name)
Returns true if the given
QName is a valid name
for this QName. |
int |
containsSpecificity(javax.xml.namespace.QName name) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isOpen()
Returns true if the name class accepts infinite number of
QName s. |
hasOverlapWith, listNames
public boolean contains(javax.xml.namespace.QName name)
NameClass
QName
is a valid name
for this QName.public int containsSpecificity(javax.xml.namespace.QName name)
containsSpecificity
in class NameClass
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public <V> V accept(NameClassVisitor<V> visitor)
NameClass
Copyright © 2010 - 2020 Adobe. All Rights Reserved