Package org.kohsuke.rngom.rngparser.nc
Class NsNameExceptNameClass
- java.lang.Object
-
- org.kohsuke.rngom.rngparser.nc.NameClass
-
- org.kohsuke.rngom.rngparser.nc.NsNameExceptNameClass
-
- All Implemented Interfaces:
java.io.Serializable
,ParsedNameClass
public class NsNameExceptNameClass extends NameClass
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NsNameExceptNameClass(java.lang.String namespaceURI, NameClass nameClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> V
accept(NameClassVisitor<V> visitor)
Visitor pattern support.boolean
contains(javax.xml.namespace.QName name)
Returns true if the givenQName
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 ofQName
s.-
Methods inherited from class org.kohsuke.rngom.rngparser.nc.NameClass
hasOverlapWith, listNames
-
-
-
-
Constructor Detail
-
NsNameExceptNameClass
public NsNameExceptNameClass(java.lang.String namespaceURI, NameClass nameClass)
-
-
Method Detail
-
contains
public boolean contains(javax.xml.namespace.QName name)
Description copied from class:NameClass
Returns true if the givenQName
is a valid name for this QName.
-
containsSpecificity
public int containsSpecificity(javax.xml.namespace.QName name)
- Specified by:
containsSpecificity
in classNameClass
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
accept
public <V> V accept(NameClassVisitor<V> visitor)
Description copied from class:NameClass
Visitor pattern support.
-
-