Package org.kohsuke.rngom.rngparser.nc
Class AnyNameExceptNameClass
- java.lang.Object
-
- org.kohsuke.rngom.rngparser.nc.NameClass
-
- org.kohsuke.rngom.rngparser.nc.AnyNameExceptNameClass
-
- All Implemented Interfaces:
java.io.Serializable
,ParsedNameClass
public class AnyNameExceptNameClass extends NameClass
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AnyNameExceptNameClass(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
-
AnyNameExceptNameClass
public AnyNameExceptNameClass(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.
-
-