public class SimpleNameClass extends NameClass
Modifier and Type | Field and Description |
---|---|
javax.xml.namespace.QName |
name |
Constructor and Description |
---|
SimpleNameClass(javax.xml.namespace.QName name) |
SimpleNameClass(java.lang.String nsUri,
java.lang.String localPart,
java.lang.String prefix) |
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 SimpleNameClass(javax.xml.namespace.QName name)
public SimpleNameClass(java.lang.String nsUri, java.lang.String localPart, java.lang.String prefix)
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 Systems Incorporated. All Rights Reserved"