Package com.sun.tools.rngom.nc
Class AnyNameExceptNameClass
java.lang.Object
com.sun.tools.rngom.nc.NameClass
com.sun.tools.rngom.nc.AnyNameExceptNameClass
- All Implemented Interfaces:
ParsedNameClass
,Serializable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<V> V
accept
(NameClassVisitor<V> visitor) Visitor pattern support.boolean
Returns true if the givenQName
is a valid name for this QName.int
containsSpecificity
(QName name) boolean
int
hashCode()
boolean
isOpen()
Returns true if the name class accepts infinite number ofQName
s.Methods inherited from class com.sun.tools.rngom.nc.NameClass
hasOverlapWith, listNames
-
Constructor Details
-
AnyNameExceptNameClass
-
-
Method Details
-
contains
Description copied from class:NameClass
Returns true if the givenQName
is a valid name for this QName. -
containsSpecificity
- Specified by:
containsSpecificity
in classNameClass
-
equals
-
hashCode
public int hashCode() -
accept
Description copied from class:NameClass
Visitor pattern support. -
isOpen
public boolean isOpen()Description copied from class:NameClass
Returns true if the name class accepts infinite number ofQName
s.Intuitively, this method returns true if the name class is some sort of wildcard.
-