public boolean isNodeType(final InternalQName testTypeName, final InternalQName... typesNames)
   {
      for (InternalQName typeName : typesNames)
      {
         if (testTypeName.equals(typeName))
            return true;

         NodeTypeHolder nt = nodeTypes.get(typeName);
         if (nt != null && (nt.superTypes.contains(testTypeName)))
            return true;
      }

      return false;
   }
public boolean isNodeType ( final InternalQName testTypeName , final InternalQName ... typesNames ) { for ( InternalQName typeName : typesNames ) { if ( testTypeName . equals ( typeName ) ) return true ; NodeTypeHolder nt = nodeTypes . get ( typeName ) ; if ( nt != null && ( nt . superTypes . contains ( testTypeName ) ) ) return true ; } return false ; }
@param testTypeName
@param typesNames
@return