001    package com.thaiopensource.relaxng.impl;
002    
003    import com.thaiopensource.relaxng.parse.ParsedNameClass;
004    import com.thaiopensource.xml.util.Name;
005    
006    public interface NameClass extends ParsedNameClass {
007      static final int SPECIFICITY_NONE = -1;
008      static final int SPECIFICITY_ANY_NAME = 0;
009      static final int SPECIFICITY_NS_NAME = 1;
010      static final int SPECIFICITY_NAME = 2;
011      boolean contains(Name name);
012      int containsSpecificity(Name name);
013      void accept(NameClassVisitor visitor);
014      boolean isOpen();
015    }